Re: [Xen-devel] [PATCH] block: xen-blkfront: Fix possible NULL ptr dereference

2013-11-11 Thread Roger Pau Monné
On 09/11/13 16:36, Felipe Pena wrote: > In the blkif_release function the bdget_disk() call might returns > a NULL ptr which might be dereferenced on bdev->bd_openers checking > > Signed-off-by: Felipe Pena > --- > drivers/block/xen-blkfront.c |4 > 1 file changed, 4 insertions(+) > >

[PATCH] block: xen-blkfront: Fix possible NULL ptr dereference

2013-11-09 Thread Felipe Pena
In the blkif_release function the bdget_disk() call might returns a NULL ptr which might be dereferenced on bdev->bd_openers checking Signed-off-by: Felipe Pena --- drivers/block/xen-blkfront.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/block/xen-blkfront.c b/drivers/bloc