Skip to content

Conversation

Sisyphus-wang
Copy link

Verify payload_size in AP4_CencSampleEncryption() to fix heap-overflow in Ap4ByteStream.cpp:785.

#1021
#990
#989 -bug2
#951
#939 -bug2
#789
#705
#641

this patch will lead to reach an abort at Ap4Atom.cpp:763.

mp4edit: /src/Bento4/Source/C++/Core/Ap4Atom.cpp:763: virtual AP4_Result AP4_AtomListWriter::Action(AP4_Atom *) const: Assertion `bytes_written <= atom->GetSize()' failed.

I don't think Ap4Atom.cpp:763 is a vulnerability, but rather an acceptable abort.

Verify payload_size in AP4_CencSampleEncryption() to fix heap-overflow in Ap4ByteStream.cpp:785.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant