commit | 8c430b64278b32f04d49ad527c132772c11b7112 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Jun 05 14:06:57 2017 -0400 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Thu Jul 27 00:21:41 2017 +0000 |
tree | d43b3a99ec9feff195c9227868c823164eb443a8 | |
parent | 53f47d2aaaba355c10ef8724f78d7f203da0aff2 [diff] |
Defend against ICOs with large BMPs embedded DO NOT MERGE If the ICO reports that it has a large BMP file embedded, do not crash if we attempt to allocate too much memory. Bug: 38116746 Merged-In: Ie6665dc8ade3beb19c276c4d48d1fabc077a2e6c Change-Id: I70eb66f5e4ffc15587007b398bbe843665eae500 Reviewed-on: https://skia-review.googlesource.com/18447 Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Leon Scroggins <scroggo@google.com> (cherry picked from commit 6029322ad78e0120cce18a01ae74e082c0e542fe)