diff options
author | 2011-05-27 09:27:16 +0300 | |
---|---|---|
committer | 2011-06-01 09:28:21 -0400 | |
commit | 9b83c771214cf6a256ee875050e6eaf320cf7983 (patch) | |
tree | 39b5308ea40a47d19cefab98721402296b78a246 /tools/perf/scripts/python/syscall-counts.py | |
parent | xen/blkback: don't call vbd_size() if bd_disk is NULL (diff) | |
download | linux-dev-9b83c771214cf6a256ee875050e6eaf320cf7983.tar.xz linux-dev-9b83c771214cf6a256ee875050e6eaf320cf7983.zip |
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: Dan Carpenter <error27@gmail.com>
[v1: Redid the loop a bit]
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions