Go to file
Mike Klein 24f0a354ac SkColorSpaceXform: clamp before table lookups
The fuzzer has built a single test case that causes out-of-bounds
reads on both the src and dst tables.  I'm glad we have it.

Next follow ups may include:
    - have byte_tables_rgb do its own clamping
    - replace table_{r,g,b} here with a single stage analogous
      to byte_tables_rgb that looks up the three float tables
      safely
    - maybe replace byte_tables_rgb with that.  I'm not really
      sure why src->XYZ tables are floats but XYZ->dst are bytes.

I'm going to try some of these out before attempting to reland
in Chrome.  As usual, rebaselining Blink makes things a pain.

Bug: chromium:772684, skia:7114
Change-Id: Id8759e766330e1c7689c0847bf2cd35d422ebbcd
Reviewed-on: https://skia-review.googlesource.com/57760
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2017-10-10 16:31:25 +00:00
animations first cut at a checkbox 2009-10-21 19:41:10 +00:00
bench Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
bin add a Win/Clang build bot 2017-07-31 19:53:51 +00:00
debugger Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
dm DM: move skiatest functions into separate file. 2017-10-10 12:34:22 +00:00
docs Remove carriage returns. 2017-10-09 20:41:14 +00:00
example Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
experimental [SVGDom] stroke-miterlimit support 2017-10-10 16:20:43 +00:00
fuzz Fuzz: use SkNullWStream 2017-08-29 17:41:36 +00:00
gm Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
gn CCPR: Add workaround for PowerVR crash 2017-10-06 22:48:59 +00:00
include Fix drawSpecialImage 2017-10-10 15:41:42 +00:00
infra Add Linux GPU Coverage bot 2017-10-10 15:15:22 +00:00
platform_tools Enable ios on Raspberry Pi 2017-04-25 16:56:41 +00:00
resources Avoid uninitialized memory in readByteArrayAsData 2017-09-28 19:51:32 +00:00
samplecode Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
site first cut at SkRect, SkIRect documentation 2017-10-09 19:36:14 +00:00
src SkColorSpaceXform: clamp before table lookups 2017-10-10 16:31:25 +00:00
tests Small pathops cleanup. 2017-10-09 22:01:34 +00:00
third_party roll libpng to 1.6.33 2017-10-02 17:31:34 +00:00
tools Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore clang on windows support 2017-07-31 18:39:23 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS fix use of uninitialized flag in SkCodec 2017-10-09 19:17:05 +00:00
BUILD.gn DM: move skiatest functions into separate file. 2017-10-10 12:34:22 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll skia/third_party/externals/angle2/ 8886f0fc8..1fce3283f (2 commits) 2017-10-10 16:28:33 +00:00
Doxyfile Make the housekeeper upload doxygen to a newer bucket 2016-10-04 13:23:57 -07:00
LICENSE BUG=skia:5602 2016-09-02 11:19:34 -07:00
PRESUBMIT.py Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
public.bzl remove legacy computeByteSize flag, now returns max_size_t 2017-10-09 17:33:25 +00:00
README Fix references to https://sites.google.com/site/skiadocs/. 2015-02-03 13:12:54 -02:00
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Revert "Whitespace change to test Android autoroller" 2017-09-07 15:25:02 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.