xen_disk: fix possible null-ptr dereference
authorGonglei (Arei) <arei.gonglei@huawei.com>
Mon, 28 Jul 2014 06:03:45 +0000 (06:03 +0000)
committerKevin Wolf <kwolf@redhat.com>
Fri, 15 Aug 2014 13:07:13 +0000 (15:07 +0200)
commit8cced121436a3298e5866dbfaec91cd475ad59cf
treef11bc3d9ca923927148711d963332527d60cb353
parent8efc936336ea7e572b117ed7049ce0136952c003
xen_disk:  fix possible null-ptr dereference

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
hw/block/xen_disk.c