diff options
author | Josef Bacik <jbacik@fusionio.com> | 2013-05-09 13:56:19 +0000 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2013-05-10 10:56:59 -0400 |
commit | 850581d48a9039367c308a07f4959682a4e24429 (patch) | |
tree | 52eaa55f5b1b325aa25cd5e77e19fe544462263e /cmds-check.c | |
parent | 0ba706acd85576ebda89058b7260bf12c926ddac (diff) |
Btrfs-progs: sanity check the number of items in a leaf V2
I hit this while working on fsck, I got some weird corruption where the number
of items was way higher than what would fit in a leaf, which would make things
blow up. This fixes the problem by catching it and returning an error so we
gracefully exit instead of segfaulting. Thanks,
Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'cmds-check.c')
0 files changed, 0 insertions, 0 deletions