commit | cea8e3d1326df16f1eeb41233703bf469016025c | [log] [tgz] |
---|---|---|
author | Khushal <khushalsagar@chromium.org> | Mon May 07 13:57:43 2018 -0700 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon May 07 21:31:30 2018 +0000 |
tree | 6f31f9e52a0f49043b216c816c2339bca70dc2ea | |
parent | 4e9e32572529ffc5bb442fe082206df2285261e3 [diff] |
text-blob: Fix OOM issues during blob deserialization. Limit the number of glyphs allowed during blob deserialization. Allocating for an arbitrary number can lead to OOM issues. Bug: 840096 Change-Id: I1673fd312438b99ff76dadcfdc9f9427acdca13b R=bsalomon@chromium.org Reviewed-on: https://skia-review.googlesource.com/126603 Commit-Queue: Khusal Sagar <khushalsagar@chromium.org> Reviewed-by: Florin Malita <fmalita@chromium.org>