Re: [PATCH 1/3] Btrfs-progs: add validation checks for chunk loading

2016-05-10 Thread David Sterba
On Mon, May 02, 2016 at 11:18:53AM -0700, Liu Bo wrote: > To survive fuzz filesystem images, we need various validation checks to > make btrfsck detect any invalid value inside chunks including those in > sys_array. > > Note that these checks may not be sufficient to cover all corner cases, > we

[PATCH 1/3] Btrfs-progs: add validation checks for chunk loading

2016-05-02 Thread Liu Bo
To survive fuzz filesystem images, we need various validation checks to make btrfsck detect any invalid value inside chunks including those in sys_array. Note that these checks may not be sufficient to cover all corner cases, we may need to add more later. This also refractor previous various ch