Critical Vulnerability Information Issue Description: - incorrectly accounts for the offset, potentially resulting in a smaller returned input buffer, causing client confusion. - returns a buffer size that includes padding after the output buffer, potentially leading to confusion. Fixes: - The size returned by and is now correct. - References to non-existent NDK methods and have been removed. Related Files: - - Change ID: - Associated Bug: - Bug: 301470262 Tags: - Flag: EXEMPT bugfix Merge Records: - (cherry picked from commit d69fe7b73a0ed14c2b5bc237f1a42314140c9458) - Merged-in: I6bbd9b85023aef56a608362afde0662d3df7284a - (cherry picked from https://android.googlesource.com/platform/frameworks/av/+/0e8d99cb7893e23a6a941379bca31455ea068fc8) - Merged-In: I6bbd9b85023aef56a608362afde0662d3df7284a