|author||Daniel Willmann <firstname.lastname@example.org>||2014-06-10 10:02:24 +0200|
|committer||Holger Hans Peter Freyther <email@example.com>||2014-06-22 16:40:59 +0200|
write_queue: Avoid possible use-after-free if fd is read-/writable
If the FD is both readable and writable and the read callback closes the connection (and frees the surrounding structure) we shouldn't call the write callback (or check anything else in the read fd). With this patch callback functions can return -EBADFD if they don't want the FD to be handled any more.
Diffstat (limited to 'utils')
0 files changed, 0 insertions, 0 deletions