summaryrefslogtreecommitdiffstats
path: root/fs/hfsplus/brec.c
diff options
context:
space:
mode:
authorLiu Bo <bo.li.liu@oracle.com>2016-06-03 12:05:15 -0700
committerDavid Sterba <dsterba@suse.com>2016-06-06 10:57:09 +0200
commite06cd3dd7cea50e87663a88acdfdb7ac1c53a5ca (patch)
treede24cda9966c078446f925c2cd02b60ee7cbeb4c /fs/hfsplus/brec.c
parent99e3ecfcb9f4ca35192d20a5bea158b81f600062 (diff)
downloadlinux-e06cd3dd7cea50e87663a88acdfdb7ac1c53a5ca.tar.bz2
Btrfs: add validadtion checks for chunk loading
To prevent fuzzed filesystem images from panic the whole system, we need various validation checks to refuse to mount such an image if btrfs finds any invalid value during loading chunks, including both sys_array and regular chunks. Note that these checks may not be sufficient to cover all corner cases, feel free to add more checks. Reported-by: Vegard Nossum <vegard.nossum@oracle.com> Reported-by: Quentin Casasnovas <quentin.casasnovas@oracle.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: Liu Bo <bo.li.liu@oracle.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/hfsplus/brec.c')
0 files changed, 0 insertions, 0 deletions