commit 654579dbab7cf3a566636bcc7d6617d5ac938f38 log] tgz] author Leon Scroggins III <scroggo@google.com> Mon Oct 22 13:16:37 2018 -0400 committer android-build-team Robot <android-build-team-robot@google.com> Wed Dec 05 05:13:47 2018 +0000 tree c0c0db449af819d3075e537a5d0fd3becbc2baa0 parent 0056606ac49688dcf3c08a51ca98fd94d9bf1897 diff]

RESTRICT AUTOMERGE: Fix heap buffer overflow Bug: b/118143775 Bug: oss-fuzz:11040 Test: I5fe66d06078f3bc674ceab4fbc8aae2ab67bfe1a Because we're sampling, the offset ends up the same as the width. Back up to the left enough to fit the bytes we will write. Include SafetyNet logging from https://skia-review.googlesource.com/c/skia/+/171227 Change-Id: Ie476a0191b66c2322446b9c0922f630d6e971645 Reviewed-on: https://skia-review.googlesource.com/c/164262 (cherry picked from commit 1a1cec98427fdc9e94614580ec42dbe936c47c55)