DO NOT MERGE Fix for stack-buffer-overflow in mps module

While parsing the input stream in mps_pre_matrix function,
there was an error.This error was not handled properly,
because of which further values which are read from bit stream
are getting wrong values.

We use these value in iteration in ixheaacd_mps_getstridemap()
which is causing stack-buffer-overflow

Bug:112857941
Test: poc+ASAN
Change-Id: I9549b06e0e4e362f517869aef75d579e3e4140a6
(cherry picked from commit 28a1411d7235c5ed0a8289f0e276a31ec669ae70)
3 files changed
tree: 8c272ef40f63c5b41482fd3e5435de08f916eeb5
  1. decoder/
  2. test/
  3. Android.bp
  4. LICENSE
  5. MODULE_LICENSE_APACHE2
  6. NOTICE
  7. OWNERS