Searched hist:c3ca988d (Results 1 – 1 of 1) sorted by relevance
/qemu/block/ |
H A D | rbd.c | c3ca988d Thu Apr 25 13:59:27 GMT 2013 Kevin Wolf <kwolf@redhat.com> rbd: Fix use after free in rbd_open()
Commit a9ccedc3 frees the QemuOpts for the driver-specific options immediately, even though it still needs the filename string that is contained there. This doesn't work. Move the deletion of the QemuOpts to the end of the function where its content isn't needed any more.
Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
|