Home
last modified time | relevance | path

Searched hist:a9ccedc3 (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Drbd.cc3ca988d 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>
a9ccedc3 Fri Apr 12 16:05:35 GMT 2013 Kevin Wolf <kwolf@redhat.com> rbd: Use bdrv_open options instead of filename

This is only to convert the internal interface that is used for passing
the "filename" to be parsed, but converting to actual fine grained
options is left for another day, as it doesn't look trivial.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>