Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

heap-buffer-overflow in od_init_skipped_coeffs #211

Open
tysmith opened this issue Oct 15, 2016 · 0 comments
Open

heap-buffer-overflow in od_init_skipped_coeffs #211

tysmith opened this issue Oct 15, 2016 · 0 comments

Comments

@tysmith
Copy link

tysmith commented Oct 15, 2016

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)

test_case.ogv.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant