[PATCH] btrfs-progs: Fix read beyond boundary bug in build_roots_info_cache()
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 0x7ffe1
Re: [PATCH] btrfs-progs: Fix read beyond boundary bug in build_roots_info_cache()
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 addr