Re: [PATCH] btrfs-progs: Fix read beyond boundary bug in build_roots_info_cache()

2018-02-14 Thread David Sterba
On Wed, Feb 14, 2018 at 02:43:25PM +0800, Qu Wenruo wrote: > This bug is exposed by fsck-test with D=asan, hit by test case 020, with > the following error report: > > = > ==10740==ERROR: AddressSanitizer: heap-buffer-overflow on

[PATCH] btrfs-progs: Fix read beyond boundary bug in build_roots_info_cache()

2018-02-13 Thread Qu Wenruo
This bug is exposed by fsck-test with D=asan, hit by test case 020, with the following error report: = ==10740==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x62161580 at pc 0x56051f0db6cd bp 0x7ffe170f3e20 sp