commit | 242a925a113c5098aeaad3c75493b8c424aa05c3 | [log] [tgz] |
---|---|---|
author | Chong Zhang <chz@google.com> | Mon Dec 09 16:38:39 2019 -0800 |
committer | Chong Zhang <chz@google.com> | Tue Dec 10 11:38:58 2019 -0800 |
tree | 969403eb82e18a9ae98f44a194e91c77889412b1 | |
parent | deb974f1d9e41b6e2be800026dc50c1ac4415db4 [diff] |
validate width*height doesn't overflow in image file width*heigh*1.5 is used to derive max input buffer size for codecs. This must not overflow. bug: 145521781 test: run 'stagefright -s -t /sdcard/poc.heic' as in the bug, stagefright should still fail, but it shouldn't crash in mediaextractor. Change-Id: I31ab8e150d348f6637d8212780832045d26991a0