oss-fuzz: SEGV on unknown address 0x000000000000
reproduce with ./build-asan/tests/dav1d_fuzzer clusterfuzz-testcase-minimized-dav1d_fuzzer-5692418159017984
clusterfuzz-testcase-minimized-dav1d_fuzzer-5692418159017984
ASAN:DEADLYSIGNAL
=================================================================
==16443==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f35774d7bbc bp 0x7fffef8
e9210 sp 0x7fffef8e8978 T0)
==16443==The signal is caused by a READ memory access.
==16443==Hint: address points to the zero page.
#0 0x7f35774d7bbb (/lib64/libc.so.6+0xa8bbb)
#1 0x7f3577e1a82e (/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/libasan.so.4+0x7982e)
#2 0x7f3577b0e3da in memcpy /usr/include/bits/string_fortified.h:34
#3 0x7f3577b0e3da in padding ../src/looprestoration.c:65
#4 0x7f3577b0e616 in wiener_c ../src/looprestoration.c:146
#5 0x7f3577b0cbfc in lr_stripe ../src/lr_apply.c:165
#6 0x7f3577b0cbfc in lr_sbrow ../src/lr_apply.c:254
#7 0x7f3577b0decc in dav1d_lr_sbrow_16bpc ../src/lr_apply.c:289
#8 0x7f3577b22814 in dav1d_filter_sbrow_16bpc ../src/recon.c:1482
#9 0x7f3577a75cd6 in dav1d_decode_frame ../src/decode.c:2669
#10 0x7f3577a79157 in dav1d_submit_frame ../src/decode.c:3036
#11 0x7f3577a448cd in dav1d_parse_obus ../src/obu.c:1088
#12 0x7f3577b242e7 in dav1d_decode ../src/lib.c:201
#13 0x5624f07bff6d in LLVMFuzzerTestOneInput ../tests/libfuzzer/dav1d_fuzzer.c:82
#14 0x5624f07bf73f in main ../tests/libfuzzer/main.c:87
#15 0x7f3577450ae6 in __libc_start_main (/lib64/libc.so.6+0x21ae6)
#16 0x5624f07bf969 in _start (/home/janne/src/dav1d/build-asan/tests/dav1d_fuzzer+0x1969)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib64/libc.so.6+0xa8bbb)
==16443==ABORTING```