aboutsummaryrefslogtreecommitdiffhomepage
path: root/resources
diff options
context:
space:
mode:
authorGravatar Leon Scroggins III <scroggo@google.com>2016-12-12 17:10:46 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2016-12-13 14:00:17 +0000
commit56e3209c70ef50ed7e39a0150d94e057695bf6b6 (patch)
treeb5758186dc612dfd31780fb714d38fbed11ad676 /resources
parentbe3bdd9000cfab825c8d9ea7126abefd0665ab3a (diff)
SkGifCodec: intersect frameRect with image size
When clearing due to SkCodecAnimation::RestoreBGColor_DisposalMethod, intersect the frameRect with the image size to prevent clearing outside the bounds of the allocated memory. Add a test image, created by the fuzzer. BUG=skia:6046 Change-Id: I43676d28f82abf093ef801752f3a9e881580924c Reviewed-on: https://skia-review.googlesource.com/5860 Commit-Queue: Leon Scroggins <scroggo@google.com> Reviewed-by: Matt Sarett <msarett@google.com>
Diffstat (limited to 'resources')
-rw-r--r--resources/invalid_images/skbug6046.gifbin0 -> 72 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/resources/invalid_images/skbug6046.gif b/resources/invalid_images/skbug6046.gif
new file mode 100644
index 0000000000..fc9a9af1ba
--- /dev/null
+++ b/resources/invalid_images/skbug6046.gif
Binary files differ