diff options
author | Felipe Pena <felipensp@gmail.com> | 2013-11-09 16:36:09 +0100 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2013-11-26 17:24:01 +0100 |
commit | 2f089cb89d2f47702c31bd584c12badc88bbe17c (patch) | |
tree | 3041158a5ba7d03f4f4f93197c86095794a585b6 /security | |
parent | xen-blkfront: Silence pfn maybe-uninitialized warning (diff) | |
download | linux-2f089cb89d2f47702c31bd584c12badc88bbe17c.tar.xz linux-2f089cb89d2f47702c31bd584c12badc88bbe17c.zip |
block: xen-blkfront: Fix possible NULL ptr dereference
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 <felipensp@gmail.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
[v2: Added WARN per Roger's suggestion]
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions