aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SkSLGLSLTest.cpp
diff options
context:
space:
mode:
authorGravatar Ben Wagner <bungeman@google.com>2017-08-01 13:22:23 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-01 18:06:19 +0000
commit4bd3b0905477ea1f005526818305c9a10ef2f6f8 (patch)
tree2124edba2bb6f5008f5d70bf4890570b7edd3677 /tests/SkSLGLSLTest.cpp
parentf1aace23d45d293790e00eccc5fc198a2bbc9084 (diff)
Assert text passed to canvas is initialized.
A new fuzzer appears to be complaining about using uninitialized glyph ids. These uninitilized glyph ids appear to be comming from far up the stack, but they don't actually get used until much later. If Skia is passed uninitialized memory in a draw call it will of course eventually need to use it and be blamed when it does. This change will make it obvious if the issue is up stack from Skia. BUG=chromium:750070,chromium:750071,chromium:750072 Change-Id: Ic6ca2f6af3620ad4a31cb017570f42550360891a Reviewed-on: https://skia-review.googlesource.com/29421 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Ben Wagner <bungeman@google.com>
Diffstat (limited to 'tests/SkSLGLSLTest.cpp')
0 files changed, 0 insertions, 0 deletions