Re: [PATCH] btrfs-progs: Fix fuzz-test for bko-161821.raw.txt

2017-05-02 Thread David Sterba
On Tue, May 02, 2017 at 03:36:09PM +0800, Lu Fengqi wrote: > Fuzzed image bko-161821.raw cause btrfs check to get segmentation fault. > > The function check_owner_ref attempts to access a non-exist quota tree > when dealing with extent_item [4198400 4096] in the corrupted filesystem. > > The

[PATCH] btrfs-progs: Fix fuzz-test for bko-161821.raw.txt

2017-05-02 Thread Lu Fengqi
Fuzzed image bko-161821.raw cause btrfs check to get segmentation fault. The function check_owner_ref attempts to access a non-exist quota tree when dealing with extent_item [4198400 4096] in the corrupted filesystem. The function btrfs_new_fs_info always allocate memory for fs_info->quota_root