diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-05-01 10:00:00 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-05-01 10:00:00 +0100 |
commit | 84aaf4530b7d495668fb2c69fdd6f5c28533c1ac (patch) | |
tree | cb246156ea962092bef37df767ef8fbaeeba043f /stubdom | |
parent | a2f23ae851a744beb582ab4f11d654516fde1e78 (diff) | |
download | xen-84aaf4530b7d495668fb2c69fdd6f5c28533c1ac.tar.gz xen-84aaf4530b7d495668fb2c69fdd6f5c28533c1ac.tar.bz2 xen-84aaf4530b7d495668fb2c69fdd6f5c28533c1ac.zip |
xemnstored: Fix xenstored abort when connection dropped.
If a connection is dropped with pending input and output data then the
connection will be dereferenced by both handle_input and handle_output
resulting in a double free when the main loop dereferences the
connection.
Fix this issue by taking/releasing a reference over the calls to
handle_input and handle_output separately and checking the result of
talloc_free to see if the connection went away.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'stubdom')
0 files changed, 0 insertions, 0 deletions