heap-buffer-overflow in od_init_skipped_coeffs
tysmith opened this issue · comments
Found running commit 4633b81
Built with AddressSanitizer
To reproduce run:
./dump_video test_case.ogv
==47052==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x63400005e800 at pc 0x000000565acb bp 0x7ffc9e65f150 sp 0x7ffc9e65f148
WRITE of size 4 at 0x63400005e800 thread T0
#0 0x565aca in od_init_skipped_coeffs src/state.c:1353:37
#1 0x4fd429 in od_block_decode src/decode.c:534:5
#2 0x4faf86 in od_decode_recursive src/decode.c:782:5
#3 0x4f61ad in od_decode_coefficients src/decode.c:979:9
#4 0x4f61ad in daala_decode_packet_in src/decode.c:1204
#5 0x4ec2de in main examples/dump_video.c:426:13
#6 0x7fa95ce7f82f in __libc_start_main /build/glibc-GKVZIf/glibc-2.23/csu/../csu/libc-start.c:291
#7 0x418f98 in _start (dump_video+0x418f98)