commit | 709b02534681f8ab8d17f144713f276e10d13385 | [log] [tgz] |
---|---|---|
author | Hal Canary <halcanary@google.com> | Tue Feb 21 14:18:01 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Feb 21 21:23:48 2017 +0000 |
tree | da4df3f2623a111fb83347180d9cbe632b57a41f | |
parent | c5ca7f955bfeb28eadf907da1b8399cad4037d1a [diff] |
SkPath.readFromMemory: check for error case Fuzzing can produce inconsistant data, such as flags or bounds. Also, use std::unique_ptr to reduce the need for calling `delete`. BUG=skia:6262 BUG=skia:6263 Change-Id: I1de6b5f764cda346bb3cd5cd4698816b6b68f395 Reviewed-on: https://skia-review.googlesource.com/8812 Commit-Queue: Hal Canary <halcanary@google.com> Reviewed-by: Cary Clark <caryclark@google.com>