ff5bb37b72
The fuzzer has been poking various holes in DSL by intentionally creating illegal types (e.g. private or not ES2-compatible), then finding ways to use those types, e.g. constructors or swizzles. Previously we were mitigating those by calling `reportIllegalTypes` at the locations where the type was used. Now, we detect the illegal type usage at the source, and return a poison DSLType. This prevents the illegal type from leaking out at all, and stops the problem at its source. It also allows us to remove calls to `reportIllegalTypes` sprinkled through the code, as those are now redundant. Change-Id: Id50b50f72849111d80f76e4fdc2cb6094d3009bd Bug: oss-fuzz:39597 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/455999 Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: Brian Osman <brianosman@google.com> Reviewed-by: Brian Osman <brianosman@google.com> Reviewed-by: Ethan Nicholas <ethannicholas@google.com> |
||
---|---|---|
.. | ||
android_fonts | ||
diff_canvas_traces | ||
empty_images | ||
fonts | ||
icc_profiles | ||
images | ||
invalid_images | ||
nima | ||
particles | ||
skottie | ||
sksl | ||
text | ||
Cowboy.svg | ||
crbug769134.fil | ||
nov-talk-sequence.txt | ||
pdf_command_stream.txt | ||
README |
The resources directory includes some third party content used by Skia. Licenses for that code are included in this file. Openclipart Openclipart uses the Creative Commons Zero 1.0 Public Domain License every time an artist uploads a piece of clipart to Openclipart to make it clear the artist is releasing the creative work for anyone to use for any reason, even commercially. This act of "sharing" is the foundation Openclipart is based upon. More details on the license can be found at https://creativecommons.org/publicdomain/zero/1.0/. LGPL or compatible (as implied by inclusion in KDE SVN) http://websvn.kde.org/trunk/tests/ksvgtests/custom/cowboy.svg