[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] 80fb34: io: fix possible double free of task
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] 80fb34: io: fix possible double free of task error object |
Date: |
Fri, 27 Jan 2017 07:00:03 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: 80fb34eda099e7cc519a91e9701ab3c0262717b3
https://github.com/qemu/qemu/commit/80fb34eda099e7cc519a91e9701ab3c0262717b3
Author: Daniel P. Berrange <address@hidden>
Date: 2017-01-26 (Thu, 26 Jan 2017)
Changed paths:
M io/task.c
M tests/test-io-task.c
Log Message:
-----------
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 <address@hidden>
Commit: 8a26d88507b51b7cc5dc40732e51ccc135fec0f6
https://github.com/qemu/qemu/commit/8a26d88507b51b7cc5dc40732e51ccc135fec0f6
Author: Peter Maydell <address@hidden>
Date: 2017-01-27 (Fri, 27 Jan 2017)
Changed paths:
M io/task.c
M tests/test-io-task.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/berrange/tags/pull-qio-2017-01-26-1'
into staging
Merge io/ 2017/01/26
# gpg: Signature made Thu 26 Jan 2017 10:26:48 GMT
# gpg: using RSA key 0xBE86EBB415104FDF
# gpg: Good signature from "Daniel P. Berrange <address@hidden>"
# gpg: aka "Daniel P. Berrange <address@hidden>"
# Primary key fingerprint: DAF3 A6FD B26B 6291 2D0E 8E3F BE86 EBB4 1510 4FDF
* remotes/berrange/tags/pull-qio-2017-01-26-1:
io: fix possible double free of task error object
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/e14c2ffd5411...8a26d88507b5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] 80fb34: io: fix possible double free of task error object,
GitHub <=