summaryrefslogtreecommitdiff
path: root/tests/mkfs-tests.sh
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2015-11-30 17:56:58 +0100
committerDavid Sterba <dsterba@suse.com>2016-01-04 11:28:24 +0100
commit88f584cfea4d8170de07acbf67895fe992d0afc4 (patch)
tree49c2bb80892d4380c9fb9b8fac81ac57ac85a75a /tests/mkfs-tests.sh
parent5f03d1fc23a575988c33098d4dea828bc19c1db6 (diff)
btrfs-progs: show-super: copy implementation of btrfs_read_sys_array
btrfs-show-super has own implementation to read the sys array and it lacks all the sanity checks. Copy and adapt the improved implementation from btrfs_read_sys_array. This will fix crashes on a fuzzed/corrupted images. It's duplicating code but at the moment looks easier than refactoring and restructuring btrfs_read_sys_array that now almost matches the kernel code, which we want in the long term. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tests/mkfs-tests.sh')
0 files changed, 0 insertions, 0 deletions