Go to file
John Stiles 67b1b2a105 Fix fuzzer-discovered undefined behavior with NaN.
The fuzzer passed in a point with a Y coordinate of NaN; this eventually
caused an integer overflow while attempting to calculate
`SK_MaxS32FitsInFloat << 2`. We now detect the NaN and return false.

Change-Id: I79e51190006bce5e2c42935e1075261a3e16aa6d
Bug: oss-fuzz:36198
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/429099
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Mike Reed <reed@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2021-07-16 19:38:42 +00:00
animations
bazel bazel baby steps 2020-09-14 15:18:32 +00:00
bench Revert "Add an isinf() polyfill for tessellation shaders" 2021-07-14 20:50:53 +00:00
bin [infra] Fix fetch-sk and fetch-skps 2021-06-18 15:20:38 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides fix tint roll - enable tint_build_wgsl_writer 2021-07-01 00:32:40 +00:00
client_utils/android Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
demos.skia.org [canvaskit] Fix demo image link 2021-06-03 12:57:50 +00:00
dm Convert dmsaa to an SkSurfaceProp 2021-04-20 16:24:56 +00:00
docker [infra] Fix index.d.ts copy in Wasm Docker build 2021-02-23 15:54:11 +00:00
docs/examples Hide getBlendMode() 2021-07-07 20:55:26 +00:00
example Remove SDL from DEPS (and SDL example that used it) 2021-05-27 21:37:57 +00:00
experimental Rename experimental app to 'sorttoy' 2021-07-01 19:11:26 +00:00
fuzz Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
gm Reland "Fix directional shadows." 2021-07-16 16:49:52 +00:00
gn Fix crash when drawing a GPU-backed surface onto raster. 2021-07-16 15:12:43 +00:00
include [androidkit] bind SkImageFilters to java shared library 2021-07-16 16:18:55 +00:00
infra Roll recipe dependencies (trivial). 2021-07-16 17:24:33 +00:00
modules Reland "Fix directional shadows." 2021-07-16 16:49:52 +00:00
platform_tools [androidkit] bind SkImageFilters to java shared library 2021-07-16 16:18:55 +00:00
resources Add test for SkSL vector-slice constructors. 2021-07-12 20:33:44 +00:00
samplecode Reland "Fix directional shadows." 2021-07-16 16:49:52 +00:00
site Update minimum Linux versions 2021-07-16 16:20:26 +00:00
specs
src Fix fuzzer-discovered undefined behavior with NaN. 2021-07-16 19:38:42 +00:00
tests Added AssertDSLObjectsReleased setting 2021-07-16 16:13:35 +00:00
third_party Roll skcms from bae5e281e80f to ba17399285ce (1 revision) 2021-07-13 16:48:24 +00:00
tools Add bloaty_treemap.py, for visualizing bloaty data 2021-07-15 19:32:04 +00:00
.bazelignore bazel baby steps 2020-09-14 15:18:32 +00:00
.clang-format no more bin packing in .clang-format 2021-03-04 17:22:50 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore add mskps/ to .gitignore 2021-07-06 21:04:55 +00:00
.gn Pre-emptive fix for upcoming ANGLE change. 2021-01-08 17:23:52 +00:00
AUTHORS Add UWP support 2021-02-10 19:04:42 +00:00
BUILD.bazel bazel baby steps 2020-09-14 15:18:32 +00:00
BUILD.gn Add utility function GetRuntimeBlendForBlendMode for testing. 2021-07-14 20:39:09 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Roll Chromium from 17781a5cd82e to a9426b211cb3 (504 revisions) 2021-07-16 05:07:24 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-02 23:41:54 +00:00
go.mod [infra] Update infra dep to roll cpython3 back to 3.8.10 2021-06-28 13:09:19 +00:00
go.sum [infra] Update infra dep to roll cpython3 back to 3.8.10 2021-06-28 13:09:19 +00:00
LICENSE
PRESUBMIT.py [fiddle] Add PRESUBMIT rule to run tools/fiddle/make_all_examples_cpp.py 2021-07-01 15:20:57 +00:00
public.bzl Add RuntimeBlendUtils to bazel. 2021-07-15 15:01:32 +00:00
README
README.chromium
RELEASE_NOTES.txt update release notes 2021-07-16 16:03:35 +00:00
whitespace.txt Test master branch deletion 2021-05-25 13:20:41 +00:00
WORKSPACE.bazel bazel baby steps 2020-09-14 15:18:32 +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.