commit | ff06107de18166f1d97baddabfe23a608ef35ceb | [log] [tgz] |
---|---|---|
author | Ray Essick <essick@google.com> | Mon Mar 27 18:16:46 2023 -0500 |
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | Thu Apr 06 00:35:10 2023 +0000 |
tree | 478cb06ad8ddcf8f9a25c89b63ce3787f2e2dc99 | |
parent | 9cb1b2346a81ecb6c98bd4758a894830e8a51572 [diff] |
Fix NuMediaExtractor::readSampleData buffer Handling readSampleData() did not initialize buffer before filling it, leading to OOB memory references. Correct and clarify the book keeping around output buffer management. Bug: 275418191 Test: CtsMediaExtractorTestCases w/debug messages (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:943fc12219b21d2a98f0ddc070b9b316a6f5d412) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:84c69bca81175feb2fd97ebb22e432ee41572786) Merged-In: Ie744f118526f100d82a312c64f7c6fcf20773b6d Change-Id: Ie744f118526f100d82a312c64f7c6fcf20773b6d