Fix ImageFilter fuzzer issue
authorrobertphillips <robertphillips@google.com>
Wed, 20 Apr 2016 18:43:33 +0000 (11:43 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 20 Apr 2016 18:43:33 +0000 (11:43 -0700)
commit9ca06c4b00bfb9bb1a7f352efd264185e5a95fbc
tree4e0f68db60529671d9324c7768740ac3a6ca2b93
parentdf02d338be8e3c1c50b48a3a9faa582703a39c07
Fix ImageFilter fuzzer issue

What appears to be happening in this fuzz is that a paint index inside the picture of an SkPictureImageFilter is getting changed to be out of range.

BUG=skia:5192
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1893423002

Review URL: https://codereview.chromium.org/1893423002
src/core/SkPictureData.h
src/core/SkPicturePlayback.cpp
src/core/SkPicturePlayback.h
src/core/SkReadBuffer.cpp
src/core/SkReadBuffer.h
src/core/SkValidatingReadBuffer.cpp
src/core/SkValidatingReadBuffer.h