skia2/resources
John Stiles 7cde28909f Enforce basic limits on function stack size in SkSL.
Functions that declare variables totaling more than 100,000 slots will
now generate an error.

This is only a partial mitigation to the problem, as a sophisticated
attack could still chain/nest multiple functions together to consume
extremely large amounts of stack. However, this mitigation is still more
sophisticated than our peers; both WebGL and glslang are susceptible to
similar problems, and in the general case (ES3+ with full flow control)
it's intractable.

Change-Id: I153c75267c017a23f59fe9e59f6e391197ee6101
Bug: oss-fuzz:40304, oss-fuzz:40694
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/467759
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2021-11-04 18:17:44 +00:00
..
android_fonts
diff_canvas_traces
empty_images
fonts Roll FreeType 2021-09-21 16:37:14 +00:00
icc_profiles
images Reland "bench: Add PhoneHub assets to skottie-vs-png decode bench" 2021-09-23 17:40:09 +00:00
invalid_images Move skbug5883.gif to a better test 2021-03-17 19:44:10 +00:00
nima
particles Fix particle bug where uniforms are allocated too late 2021-02-03 22:50:28 +00:00
skottie plumb experimental SkSL layer effect in native Skottie player 2021-11-01 18:05:15 +00:00
sksl Enforce basic limits on function stack size in SkSL. 2021-11-04 18:17:44 +00:00
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