commit | 353f2a2ad43256b6b1d8c17e3942316d0a8424e2 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicm@openbsd.org> | Mon Oct 26 20:47:00 2009 +0000 |
committer | Nicholas Marriott <nicm@openbsd.org> | Mon Oct 26 20:47:00 2009 +0000 |
tree | 12f5dbeee73798cc872d8f267dfdfb685b6f52af | |
parent | 53957dcbaab49362748aa8b25b20e34274b6a3e9 [diff] |
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.