[automerger skipped] Merge "Prevent out-of-bounds read" into sc-dev am: 4d1130a93f am: f3c5806f9f am: b50bdd801c am: d8ca2131d9 -s ours

am skip reason: Merged-In Ie8d6792ff391d36d0e199a1d7f649e6081c1e8ac with SHA-1 cc538ed268 is already in history

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/16304601

Change-Id: Iceea659637dd198a4bc24f0959ec58a7bd810ade