Skip to content
Commit 9b83c771 authored by Dan Carpenter's avatar Dan Carpenter Committed by Konrad Rzeszutek Wilk
Browse files

xen/blkback: potential null dereference in error handling



blkbk->pending_pages can be NULL here so I added a check for it.

Signed-off-by: default avatarDan Carpenter <error27@gmail.com>
[v1: Redid the loop a bit]
Signed-off-by: default avatarKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
parent 6464920a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment