DescriptionMSE: Fix Mp4 SAIO parsing overflow
SampleAuxiliaryInformationOffset::Parse
count can take any value between 0x0 and 0xffffffff. We must
check for size_t overflow when multiplying count by
"bytes_per_offset". We should also avoid attempting to resize vectors
beyond their max_size() (potential OOB depending on stl library impl).
BUG=679641
TEST=unit test, manual verification of POC.
Review-Url: https://codereview.chromium.org/2648433002
Cr-Commit-Position: refs/heads/master@{#444584}
Committed: https://chromium.googlesource.com/chromium/src/+/5041e28550903b40c925d66f6bb5bb6a6baed15b
Patch Set 1 #Patch Set 2 : Rebase onto trun fix #
Total comments: 2
Patch Set 3 : Rebase #Patch Set 4 : Feedback #
Messages
Total messages: 12 (7 generated)
|