You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nice one! This declares a very large number of compatible brands in an ftyp box but doesn't supply them. Since be_fourcc didn't check for short reads, we would hit EOF but return a fourcc value each time. The programme only halts (after creating all 808M?) on the assert at the end of read_box which checks that we've read all the data.
I've added the testcase as 6899348 and a return value check as b154acc which fixes the slow crash.
Activity
Add regression test from fuzzing.
rillian commentedon Oct 29, 2015
Nice one! This declares a very large number of compatible brands in an ftyp box but doesn't supply them. Since
be_fourccdidn't check for short reads, we would hit EOF but return a fourcc value each time. The programme only halts (after creating all 808M?) on the assert at the end of read_box which checks that we've read all the data.I've added the testcase as 6899348 and a return value check as b154acc which fixes the slow crash.
rillian commentedon Oct 29, 2015
Sorry, only 202116105 compatible brands. Forgot to divide by 4 for the fourcc width.
Add regression test from fuzzing.