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
run ffjpeg -e poc.bmp in linux
ffjpeg -e poc.bmp
result in gdb.
Stopped reason: SIGSEGV 0x0000000000401968 in bitstr_tell (stream=0x0) at bitstr.c:221 221 int type = *(int*)stream; gdb-peda$
steam is a pointer which is null in this case. Dereferencing null pointer cause segment fault.
fix:
long bitstr_tell(void *stream) { if( stream == NULL ){ return EOF; } int type = *(int*)stream; switch (type) { case BITSTR_MEM : return mbitstr_tell(stream); case BITSTR_FILE: return fbitstr_tell(stream); } return EOF; }
poc.zip
The text was updated successfully, but these errors were encountered:
5d07fff
a new commit pushed for this issue, please check an test.
Sorry, something went wrong.
No branches or pull requests
run
ffjpeg -e poc.bmpin linuxresult in gdb.
steam is a pointer which is null in this case. Dereferencing null pointer cause segment fault.
fix:
poc.zip
The text was updated successfully, but these errors were encountered: