commit | edfb6560cefd5d01dd93c957faf5ab34c637b082 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Jun 05 14:06:57 2017 -0400 |
committer | Leon Scroggins <scroggo@google.com> | Fri Jun 16 20:47:48 2017 +0000 |
tree | 74a550d400d4ce8b45eb9089505fd34d2795fb65 | |
parent | a24e12f1fd51c0c7cabd5e6220ae961eadb5e52e [diff] |
Defend against ICOs with large BMPs embedded DO NOT MERGE Test: TODO 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 Bug: 37624243 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>