qemu-e2k/block
Liu Yuan 5d5da114b3 sheepdog: fix NULL dereference in sd_create
Following command

qemu-img create -f qcow2 sheepdog:test 20g

will cause core dump because aio_context is NULL in sd_create. We should
initialize it by qemu_get_aio_context() to avoid NULL dereference.

Cc: qemu-devel@nongnu.org
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Liu Yuan <namei.unix@gmail.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-06-23 16:36:13 +08:00
..
backup.c
blkdebug.c blkdebug: use BlockDriverState's AioContext 2014-06-04 09:56:11 +02:00
blkverify.c blkverify: implement .bdrv_detach/attach_aio_context() 2014-06-04 09:56:11 +02:00
bochs.c
cloop.c
commit.c
cow.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
curl.c block: Drop superfluous conditionals around g_free() 2014-06-16 17:23:19 +08:00
dmg.c
gluster.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
iscsi.c block/iscsi: drop obsolete pointers from iscsi_co_writev 2014-06-18 18:42:42 +02:00
linux-aio.c block/linux-aio: fix memory and fd leak 2014-06-04 09:56:11 +02:00
Makefile.objs
mirror.c block: Add backing_blocker in BlockDriverState 2014-05-28 14:28:46 +02:00
nbd-client.c nbd: implement .bdrv_detach/attach_aio_context() 2014-06-04 09:56:11 +02:00
nbd-client.h nbd: implement .bdrv_detach/attach_aio_context() 2014-06-04 09:56:11 +02:00
nbd.c nbd: implement .bdrv_detach/attach_aio_context() 2014-06-04 09:56:11 +02:00
nfs.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
parallels.c
qapi.c block/qapi: Plug memory leak in dump_qobject() case QTYPE_QERROR 2014-05-30 14:26:54 +02:00
qcow2-cache.c
qcow2-cluster.c qcow2: Fix memory leak in COW error path 2014-05-28 14:28:46 +02:00
qcow2-refcount.c
qcow2-snapshot.c
qcow2.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
qcow2.h
qcow.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c qed: use BlockDriverState's AioContext 2014-06-04 09:56:11 +02:00
qed.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
qed.h qed.c: replace QEMUOptionParameter with QemuOpts 2014-06-16 17:23:21 +08:00
quorum.c quorum: implement .bdrv_detach/attach_aio_context() 2014-06-04 09:56:11 +02:00
raw_bsd.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
raw-aio.h block/raw-win32: implement .bdrv_detach/attach_aio_context() 2014-06-04 09:56:12 +02:00
raw-posix.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
raw-win32.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
rbd.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
sheepdog.c sheepdog: fix NULL dereference in sd_create 2014-06-23 16:36:13 +08:00
snapshot.c
ssh.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
stream.c block: Use bdrv_set_backing_hd everywhere 2014-05-28 14:28:46 +02:00
vdi.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
vhdx-endian.c
vhdx-log.c
vhdx.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
vhdx.h vhdx.c: replace QEMUOptionParameter with QemuOpts 2014-06-16 17:23:21 +08:00
vmdk.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
vpc.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
vvfat.c cleanup QEMUOptionParameter 2014-06-16 17:23:21 +08:00
win32-aio.c block/raw-win32: implement .bdrv_detach/attach_aio_context() 2014-06-04 09:56:12 +02:00