diff options
author | Kevin Lubick <kjlubick@google.com> | 2018-02-12 08:26:39 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-12 15:25:59 +0000 |
commit | 2416f968a69ff71f83eb17e97d1cb6448c916a69 (patch) | |
tree | 91e1846328cae9f649f0768b9401faea7ab11885 /BUILD.gn | |
parent | 77295347c229fa4353e09d97961546ce3c9391e5 (diff) |
Add 2 fuzz targets for image decoding (oss-fuzz)
This also adds in a few small guards to prevent libfuzzer from frequently
running out of memory when an image claims to have billions of pixels.
Bug: skia:
Change-Id: I47a9daac832c4d85a42000698482b61721c38880
Reviewed-on: https://skia-review.googlesource.com/106264
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'BUILD.gn')
-rw-r--r-- | BUILD.gn | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1730,6 +1730,8 @@ if (skia_enable_tools) { "fuzz/FuzzPathop.cpp", "fuzz/FuzzScaleToSides.cpp", "fuzz/fuzz.cpp", + "fuzz/oss_fuzz/FuzzAnimatedImage.cpp", + "fuzz/oss_fuzz/FuzzImage.cpp", "fuzz/oss_fuzz/FuzzImageFilterDeserialize.cpp", "fuzz/oss_fuzz/FuzzPathDeserialize.cpp", "fuzz/oss_fuzz/FuzzRegionDeserialize.cpp", |