kcchen2012 / mp4v2

Automatically exported from code.google.com/p/mp4v2
Other
0 stars 0 forks source link

NULL pointer access by multi-sample descriptions #149

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Read attached crashdata.mp4.
2. Crash by a NULL pointer access in PrintVideoInfo().

What is the expected output? What do you see instead?
Do not crash.

What version of the product are you using? On what operating system?
2.0.0, Windows XP

Please provide any additional information below.
Attached patch fix the NULL pointer access in PrintVideoInfo().
This problem is caused by MP4File::GetTrackMediaDataName() returning NULL 
because pAtom->GetNumberOfChildAtoms() returns 2.

Original issue reported on code.google.com by ktakata6...@gmail.com on 18 Nov 2012 at 5:39

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by kid...@gmail.com on 18 Nov 2012 at 5:55

GoogleCodeExporter commented 8 years ago
Verified, and fixed in r498 - thanks for the patch.

Original comment by kid...@gmail.com on 18 Nov 2012 at 6:00

GoogleCodeExporter commented 8 years ago

Original comment by kid...@gmail.com on 18 Nov 2012 at 6:01