commit | f593adeec75fe65771dfe67deca33fa4434b4e8a | [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 Aug 02 17:48:07 2017 +0000 |
tree | d43b3a99ec9feff195c9227868c823164eb443a8 | |
parent | a6d42eb437b6023afd111fbc90a748ef3ec121d2 [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)