Go to file
Mike Reed cd9ada5507 must check for zero-length in reader32::read() before calling memcpy
memcpy's behavior is undefined if the dst-ptr is null, but reader32 supports
null as long as the size is 0, so it needs to check explicitly before
calling memcpy. This is implemented (now) by calling sk_careful_memcpy.

BUG=skia:

Change-Id: I7033cc5e6d724f50f0aafd9808e297b953848aa7
Reviewed-on: https://skia-review.googlesource.com/9729
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Mike Reed <reed@google.com>
2017-03-15 18:16:30 +00:00
animations
bench Optimize mipmap downsample_2_2 in sRGB mode 2017-03-09 10:33:15 +00:00
bin bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
debugger Get Debugger app compiling again 2017-01-06 16:18:27 +00:00
dm SkColorSpaceXformCanvas 2017-03-13 16:11:38 +00:00
example Add the ability to enable/disable GPU path renderers 2017-02-22 20:29:56 +00:00
experimental Add GrRenderTargetContext::resourceProvider & GrResourceProvider::caps 2017-03-14 21:23:44 +00:00
fuzz Update coverage script to cover new Canvas Fuzzers 2017-03-15 14:32:59 +00:00
gm Revert "store vertices arrays inline with object" 2017-03-15 17:32:48 +00:00
gn Add pre-Flush callback to GrDrawingManager 2017-03-15 17:54:16 +00:00
include Revert "store vertices arrays inline with object" 2017-03-15 17:32:48 +00:00
infra Disable debug layers on non android vulkan bots 2017-03-15 17:57:58 +00:00
platform_tools One-liner fix that allows Viewer to switch between Raster and OpenGL 2017-02-23 22:33:36 +00:00
resources Set a limit on the size for BMP images 2017-02-24 21:25:44 +00:00
samplecode Use SkBlendMode_Name rather than one-off tables 2017-03-15 16:52:49 +00:00
site Documentation: Consistancy 2017-03-14 14:21:49 +00:00
src must check for zero-length in reader32::read() before calling memcpy 2017-03-15 18:16:30 +00:00
tests must check for zero-length in reader32::read() before calling memcpy 2017-03-15 18:16:30 +00:00
third_party Roll freetype. 2017-03-15 14:16:22 +00:00
tools Viewer's nonlinear blend mode uses SkColorSpaceXformCanvas 2017-03-15 15:17:13 +00:00
.clang-format Mark flatennable macros as block beginning/ending in .clang-format 2017-01-09 15:31:36 +00:00
.gitignore bin/fetch-clang-format 2017-03-08 16:43:49 +00:00
.gn Basic standalone GN configs. 2016-07-21 12:25:45 -07:00
AUTHORS Added support for building for tvOS 2017-03-14 22:55:04 +00:00
BUILD.gn Revert "Turn on SkJumper all the time." 2017-03-08 18:54:42 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
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 freetype. 2017-03-15 14:16:22 +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 Clean up more references to GYP. 2017-02-06 17:55:35 +00:00
public.bzl remove legacy flag 2017-03-13 16:54:43 +00:00
README
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
whitespace.txt Whitespace change to test new submit strategy II 2017-02-22 14:03:00 +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.