commit | f8d8c0de0a3c4a385e1beb2663a7087f1657117b | [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:34:36 2023 +0000 |
tree | f9e12d6df60234e301277a9694e4299fe10c3079 | |
parent | cf977af9deb02c8b2437cfc819694e6bfd1b2659 [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