commit | 5a4952e686b985ade4244390568583868b33b3dc | [log] [tgz] |
---|---|---|
author | Adrienne Walker <enne@chromium.org> | Mon Jan 07 21:16:29 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jan 07 21:16:29 2019 |
tree | a51c20f41b0ea6b7adb06b995df8e6f2a01533a3 | |
parent | 391292b076fea1df5359e9859a812cf99f67158d [diff] |
oopr: memcpy memory before deserializing flattenables To avoid Skia having to care about TOCTOU concerns when deserializing from shared memory that might be changed underneath it by a malicious renderer, make a copy of any data that Skia needs to deserialize. In the future, we could consider microoptimizing these by moving them into paint data structures to avoid a copy if it turns out to be too slow. Change-Id: Ic81fc9667578078331c183e51224d8ce86b56ef5 Reviewed-on: https://chromium-review.googlesource.com/c/1356005 Commit-Queue: enne <enne@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Antoine Labour <piman@chromium.org> Reviewed-by: Khushal <khushalsagar@chromium.org> Cr-Commit-Position: refs/heads/master@{#620472}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .