Check on Picture Dimensions

Adding error check to ensure that the picture being decoded is not larger than
the maximum width and height passed to init decoder call.

Bug: 63121644
Test: ran POC before/after with desired results.
Change-Id: Id51a2ef8c92d48b4088a895f85688d2b543aa996
(cherry picked from commit dd89269aa283dd740fd16c6d7d3cf225b3623338)
1 file changed
tree: 9b37aeee799c864bdaf558aba4db27da931a6793
  1. Android.bp
  2. MODULE_LICENSE_APACHE2
  3. NOTICE
  4. common/
  5. decoder/
  6. test/