commit | f44631b133909bbf98c13e53ec11bf8cd87a2dc4 | [log] [tgz] |
---|---|---|
author | msarett <msarett@google.com> | Wed Jan 13 10:54:20 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Wed Jan 13 10:54:20 2016 -0800 |
tree | 8d95b55e1f46fd7af06ef36bc106625e79c14648 | |
parent | 56f6d0652cb2bbe0d702b325f498f6e11d455bf2 [diff] |
Remove size check from SkCodec This check is useless because it is vulnerable to integer overflow. Also, I don't think this is the right way to solve the problem of "too large" images. For example, many image specs allow images larger than this, so we should too. BUG=skia:4667 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1580113002 Review URL: https://codereview.chromium.org/1580113002