Open jinyu00 opened 6 years ago
There are several Maintenance:
Pull Requests that address issues like this.
Let me know, if you have bugs like this null-pointer dereference with these Maintenance:
patches.
Alternatively, you could use @anthwlock Untrunc repository.
When open a crafted
mp4
file, The program could beSegmentation fault
Now let see in gdb
Crash at
0x443a0a
, the asm code are as belowand
rax=0
, so null pointer referenceThe vulnerability is in track.cpp
From the debug session , I find that the following line tigger the vulnerability
stsd
obj is a null pointer , let's see intrak->atomByName
The function could return
NULL
, butCodec::parse
don't consider it.To fix it , may be only need to check the
Atom::atomByName
's return valueThe
poc
file