[automerger skipped] Merge "Fix heap-use-after-free issue flagged by fuzzer test." into sc-dev am: 85dc16dd0f -s ours am: 44def9fd58 -s ours am: 8eb17a5a08 -s ours am: 468db685a8 -s ours am: 5502ff24de -s ours am: dd7071cc7f -s ours am: a3fc652d8d -s ours am: 106f35d8dc -s ours

am skip reason: Merged-In I41dde165a5eba151c958b81417d9e1065af1b411 with SHA-1 7ff382cbc3 is already in history

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

Change-Id: If089a75da7a343d92438c89ee4a1250da6e35d0d
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>