aboutsummaryrefslogtreecommitdiff
path: root/xmalloc.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-10-26 20:47:00 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-10-26 20:47:00 +0000
commit353f2a2ad43256b6b1d8c17e3942316d0a8424e2 (patch)
tree12f5dbeee73798cc872d8f267dfdfb685b6f52af /xmalloc.c
parent53957dcbaab49362748aa8b25b20e34274b6a3e9 (diff)
downloadrtmux-353f2a2ad43256b6b1d8c17e3942316d0a8424e2.tar.gz
rtmux-353f2a2ad43256b6b1d8c17e3942316d0a8424e2.tar.bz2
rtmux-353f2a2ad43256b6b1d8c17e3942316d0a8424e2.zip
Don't do anything in the client callback if the client has already died to
avoid a use-after-free (the callback is used twice, once for the client itself and once for the tty). Fixes crashes seen by Han Boetes.
Diffstat (limited to 'xmalloc.c')
0 files changed, 0 insertions, 0 deletions