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

A SEGV signal occurred when running mp4compact #285

Closed
swtkiwi opened this issue Jul 10, 2018 · 0 comments
Closed

A SEGV signal occurred when running mp4compact #285

swtkiwi opened this issue Jul 10, 2018 · 0 comments
Assignees
Labels

Comments

@swtkiwi
Copy link

swtkiwi commented Jul 10, 2018

A SEGV signal occurred when running mp4compact at Ap4StcoAtom.cpp:150

ASAN:SIGSEGV
=================================================================
==22735==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000471c70 bp 0x7ffd0713b440 sp 0x7ffd0713b420 T0)
    #0 0x471c6f in AP4_StszAtom::GetSampleSize(unsigned int, unsigned int&) /home/mfc_fuzz/Bento4/Source/C++/Core/Ap4StszAtom.cpp:150
    #1 0x450548 in AP4_CompactingProcessor::TrackHandler::ProcessTrack() /home/mfc_fuzz/Bento4/Source/C++/Apps/Mp4Compact/Mp4Compact.cpp:132
    #2 0x52dec2 in AP4_Processor::Process(AP4_ByteStream&, AP4_ByteStream&, AP4_ByteStream*, AP4_Processor::ProgressListener*, AP4_AtomFactory&) /home/mfc_fuzz/Bento4/Source/C++/Core/Ap4Processor.cpp:617
    #3 0x52fb9e in AP4_Processor::Process(AP4_ByteStream&, AP4_ByteStream&, AP4_Processor::ProgressListener*, AP4_AtomFactory&) /home/mfc_fuzz/Bento4/Source/C++/Core/Ap4Processor.cpp:761
    #4 0x4515ea in main /home/mfc_fuzz/Bento4/Source/C++/Apps/Mp4Compact/Mp4Compact.cpp:220
    #5 0x7fc83901c82f in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
    #6 0x44f908 in _start (/home/sandy/swt_fuzz/Bento4/cmakebuild/mp4compact+0x44f908)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV /home/mfc_fuzz/Bento4/Source/C++/Core/Ap4StszAtom.cpp:150 AP4_StszAtom::GetSampleSize(unsigned int, unsigned int&)
==22735==ABORTING

The testing program is mp4compact.
And the input file has been put at:
https://github.com/fCorleone/fuzz_programs/blob/master/Bento4/test3

@barbibulle barbibulle self-assigned this Jul 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants