Go to file
Anthony Catel 463d729cd6 Fix an "use-after-move" in SkFontMgr_custom_embedded.
If a font file has more than one face (e.g. from a .ttc file), the unique_ptr storing the SkMemoryStream instance was reused after being moved, leading to NULL pointer deference in SkTypeface_FreeType::Scanner::openFace()

Bug: skia: https://bugs.chromium.org/p/skia/issues/detail?id=10322
Change-Id: I99a53a240a5e7112cd3e67d8c74ff951a9044688
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/293519
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
Commit-Queue: Mike Klein <mtklein@google.com>
2020-06-03 14:19:48 +00:00
animations
bench Revert "Allow printf-style formatting to be used in SK_ABORT." 2020-06-01 19:32:08 +00:00
bin roll GN 2020-04-01 17:02:23 +00:00
build/fuchsia Remove FIDL C bindings usages 2020-05-26 16:40:29 +00:00
build_overrides Use Dawn's BUILD.gn instead of defining another one for Skia. 2020-04-13 23:26:31 +00:00
client_utils/android Remove SkBitmapRegionDecoder and SkBRDAllocator 2020-06-01 20:56:29 +00:00
dm Update DDL test harness to better match OOP-R 2020-05-29 15:58:05 +00:00
docker Support specifying hash and patch_ref in skia-release & skia-wasm-release Dockerfiles 2020-05-06 20:39:04 +00:00
docs/examples Remove SkSurface::MakeFromBackendTextureAsRenderTarget from public API 2020-05-29 15:09:52 +00:00
example
experimental Upgrade to emscripten 1.39.16 2020-05-21 18:31:21 +00:00
fuzz Revert "Revert "move onto new factories for SkMatrix"" 2020-05-21 16:58:39 +00:00
gm Check for deferred saves in SkCanvas::clipShader 2020-06-03 00:43:45 +00:00
gn Android test to depend on icu and harfbuzz. 2020-06-02 21:26:25 +00:00
include Revert "Revert "gms for SkParagraph"" 2020-06-02 19:26:04 +00:00
infra Update Go Deps 2020-06-03 05:38:53 +00:00
modules [canvaskit] Add flexibility to setColor API 2020-06-03 11:38:54 +00:00
platform_tools Revert "Allow printf-style formatting to be used in SK_ABORT." 2020-06-01 19:32:08 +00:00
resources Runtime effect implementation of color cube filter 2020-05-28 15:45:48 +00:00
samplecode hide savelayer's clipmask fields 2020-05-31 14:06:42 +00:00
site Fix markdown typo in the style guide 2020-05-29 16:24:57 +00:00
specs Fix CanvasKit generated documentation to work with emscripten 1.39.16. 2020-05-27 12:23:32 +00:00
src Fix an "use-after-move" in SkFontMgr_custom_embedded. 2020-06-03 14:19:48 +00:00
tests Remove submit from async read pixels. User must submit. 2020-06-02 16:55:04 +00:00
third_party Hide ICU C++ API from Skia users. 2020-05-29 21:43:19 +00:00
tools Remove submit from async read pixels. User must submit. 2020-06-02 16:55:04 +00:00
.clang-format Disable BinPackParameters in .clang-format 2020-03-27 14:32:40 +00:00
.clang-tidy
.gitignore
.gn
AUTHORS Fixing a bug in SkOpEdgeBuilder::walk that causes pathOps to fail when cubic segment is reducable 2020-04-21 16:56:54 +00:00
BUILD.gn Revert "Revert "gms for SkParagraph"" 2020-06-02 19:26:04 +00:00
codereview.settings
CONTRIBUTING
CQ_COMMITTERS
DEPS Revert "Roll dawn from 295a4177aebc to adbf9153d909 (18 revisions)" 2020-06-03 12:48:30 +00:00
go.mod Update Go Deps 2020-06-03 05:38:53 +00:00
go.sum Update Go Deps 2020-06-03 05:38:53 +00:00
LICENSE
OWNERS
PRESUBMIT.py PRESUBMIT: Don't check formatting of deleted files 2020-04-08 10:36:09 +00:00
public.bzl add Fuchsia condition results for G3 build 2020-06-02 16:56:44 +00:00
README
README.chromium
RELEASE_NOTES.txt Remove submit from async read pixels. User must submit. 2020-06-02 16:55:04 +00:00
whitespace.txt

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

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