Skip to content

Bad-free in lib.c

858689e1dfb0f910834bd19bcf3e5270482fc8f8 (HEAD -> master, upstream/master, upstream/HEAD) tests: add libfuzzer test target

+ ./tools/dav1d -l 1000 --framethread 4 --tilethread 4 -i ../../../Movies/av1/tos_1080p_new.ivf -o x.y4m

dav1d 858689e - by VideoLAN
Decoded 1000/1000 frames (100.0%)
=================================================================
==23327==ERROR: AddressSanitizer: attempting free on address which was not malloc()-ed: 0x621000000100 in thread T0
    #0 0x106f7afdd in wrap_free (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x56fdd)
    #1 0x106ca4e9a in dav1d_free_aligned mem.h:57
    #2 0x106ca9bf1 in dav1d_close lib.c:273
    #3 0x10676aa31 in main dav1d.c:170
    #4 0x7fff66739014 in start (libdyld.dylib:x86_64+0x1014)

Address 0x621000000100 is a wild pointer.
SUMMARY: AddressSanitizer: bad-free (libclang_rt.asan_osx_dynamic.dylib:x86_64h+0x56fdd) in wrap_free
==23327==ABORTING
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information