qemu-e2k/io
Daniel P. Berrange 80fb34eda0 io: fix possible double free of task error object
If a QIOTask has an error set and the calling code uses
qio_task_propagate_error() to steal the reference to
that Error object, the task would not clear its own
reference. This would lead to a double-free when
qio_task_free runs, if the caller had (correctly) freed
the Error object they now owned.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
2017-01-26 10:26:18 +00:00
..
channel-buffer.c
channel-command.c
channel-file.c
channel-socket.c io: remove Error parameter from QIOTask thread worker 2017-01-23 15:32:19 +00:00
channel-tls.c io: change the QIOTask callback signature 2017-01-23 15:32:18 +00:00
channel-util.c
channel-watch.c
channel-websock.c io: change the QIOTask callback signature 2017-01-23 15:32:18 +00:00
channel.c
dns-resolver.c io: introduce a DNS resolver API 2017-01-23 15:32:46 +00:00
Makefile.objs io: introduce a DNS resolver API 2017-01-23 15:32:46 +00:00
task.c io: fix possible double free of task error object 2017-01-26 10:26:18 +00:00
trace-events io: change the QIOTask callback signature 2017-01-23 15:32:18 +00:00