aboutsummaryrefslogtreecommitdiffstats
path: root/kerncompat.h
diff options
context:
space:
mode:
authorZach Brown <zab@redhat.com>2013-01-17 13:24:35 -0800
committerZach Brown <zab@redhat.com>2013-02-05 16:09:38 -0800
commit968efc6f988623aff2b4c21af8317ec80836a4b9 (patch)
treefb153f57b5134c2255e61911954469b619b1f9f7 /kerncompat.h
parentea0ac9416fd13b7e20899d8c7c130e5375171ea6 (diff)
downloadbtrfs-progs-968efc6f988623aff2b4c21af8317ec80836a4b9.tar.gz
btrfs-progs-968efc6f988623aff2b4c21af8317ec80836a4b9.tar.xz
btrfs-progs-968efc6f988623aff2b4c21af8317ec80836a4b9.zip
btrfs-progs: more carefully check eb backrefs
check_owner_ref() could deref a null path node if btrfs_search_slot() fails or simply doesn't find a tree tall enough to get to the parent of the desired block. This was flagged by static analysis warning that btrfs_search_slot()'s return value wasn't being checked. Signed-off-by: Zach Brown <zab@redhat.com> Again: caught by static analysis.
Diffstat (limited to 'kerncompat.h')
0 files changed, 0 insertions, 0 deletions