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-use-after-free in od_dec_clear #209

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

heap-use-after-free in od_dec_clear #209

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:
ASAN_OPTIONS=allocator_may_return_null=true ./dump_video test_case.ogv

==47338==ERROR: AddressSanitizer: heap-use-after-free on address 0x7fbfac81f81f at pc 0x000000554378 bp 0x7ffcb2e065f0 sp 0x7ffcb2e065e8
READ of size 1 at 0x7fbfac81f81f thread T0
    #0 0x554377 in od_aligned_free src/state.c:83:12
    #1 0x554377 in od_state_clear src/state.c:514
    #2 0x4f25fc in od_dec_clear src/decode.c:77:3
    #3 0x4f25fc in daala_decode_create src/decode.c:87
    #4 0x4eba22 in main examples/dump_video.c:341:10
    #5 0x7fbfbdf7382f in __libc_start_main /build/glibc-GKVZIf/glibc-2.23/csu/../csu/libc-start.c:291
    #6 0x418f98 in _start (dump_video+0x418f98)

test_case.ogv.zip
log.txt

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