Skip to content

[oss-fuzz 4859976897331200] Null dereference in ty.c

Ref.:

AddressSanitizer:DEADLYSIGNAL
=================================================================
==402==ERROR: AddressSanitizer: SEGV on unknown address 0x00000000000c (pc 0x5bb2c7ef1b72 bp 0x7ffc1831ceb0 sp 0x7ffc1831cde0 T0)
==402==The signal is caused by a READ memory access.
==402==Hint: address points to the zero page.
    #0 0x5bb2c7ef1b72 in Demux /src/vlc/modules/demux/ty.c:433:9
    #1 0x5bb2c7d88455 in demux_process_stream /src/vlc/test/src/input/demux-run.c:312:19
    #2 0x5bb2c7d880ef in LLVMFuzzerTestOneInput /src/vlc/test/vlc-demux-libfuzzer.c:63:5
    #3 0x5bb2c7c258bd in fuzzer::Fuzzer::ExecuteCallback(unsigned char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerLoop.cpp:619:13
    #4 0x5bb2c7c10632 in fuzzer::RunOneTest(fuzzer::Fuzzer*, char const*, unsigned long) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:329:6
    #5 0x5bb2c7c16500 in fuzzer::FuzzerDriver(int*, char***, int (*)(unsigned char const*, unsigned long)) /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerDriver.cpp:865:9
    #6 0x5bb2c7c42032 in main /src/llvm-project/compiler-rt/lib/fuzzer/FuzzerMain.cpp:20:10
    #7 0x7c7c060ca082 in __libc_start_main /build/glibc-LcI20x/glibc-2.31/csu/libc-start.c:308:16
    #8 0x5bb2c7c0971d in _start

==402==Register values:
rax = 0x0000000000000000  rbx = 0x00007ffc1831cde0  rcx = 0x0000000000000000  rdx = 0x0000000000000000
rdi = 0x000000000000000c  rsi = 0x0000000200000000  rbp = 0x00007ffc1831ceb0  rsp = 0x00007ffc1831cde0
 r8 = 0x0000000000000004   r9 = 0x00007abc055e6000  r10 = 0x00007fffffffff01  r11 = 0x0000000000000001
r12 = 0x0000000000000003  r13 = 0x00000f3180abc182  r14 = 0x0000000000000000  r15 = 0x0000000000000000
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/mnt/scratch0/clusterfuzz/bot/builds/clusterfuzz-builds_vlc_8f98ce4aa4498db36bdafd2ab37989a4592ed90c/revisions/vlc-demux-dec-libfuzzer-ty+0x618b72)
==402==ABORTING

Samples:

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information