commit | 541ff2eeb55ad02fb414ac123424798bc92891af | [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> | Wed Jul 26 23:48:24 2017 +0000 |
tree | d43b3a99ec9feff195c9227868c823164eb443a8 | |
parent | 73b538905f58324f802bfa40dda21c190bf75419 [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)