commit | 1a1cec98427fdc9e94614580ec42dbe936c47c55 | [log] [tgz] |
---|---|---|
author | Leon Scroggins III <scroggo@google.com> | Mon Oct 22 13:16:37 2018 -0400 |
committer | Leon Scroggins <scroggo@google.com> | Mon Nov 26 19:57:55 2018 +0000 |
tree | c0c0db449af819d3075e537a5d0fd3becbc2baa0 | |
parent | c880585df188439eb0d4dd4ad2cdeb1ac48719fc [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