commit | 81c73fc78eec2fef853cea2f3dfbd4169046b4bc | [log] [tgz] |
---|---|---|
author | Tom Finegan <tomfinegan@google.com> | Mon Oct 31 12:11:56 2016 -0700 |
committer | Tom Finegan <tomfinegan@google.com> | Mon Oct 31 12:11:56 2016 -0700 |
tree | 10e43b35f99ce87ca2e6c21d9e0c73770449e209 | |
parent | 9732ae991efb71aced4267d4794918279e362d99 [diff] |
mkvparser: Avoid alloc failures in SeekHead::Parse. Some run times return NULL pointers when creating 0 length arrays. Avoid the inconsistency by skipping allocation when the length of the SeekHead entry or void element array is 0. BUG=webm:1313 Change-Id: I28b4eac1d3e0ba968147637883f6e37c089e8573