Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cc: Avoid hardcoding size limits in paint deserialization.
Avoid using hardcoded size limits for ensuring sane memory allocations during paint deserializations. Instead make sure we don't allocate more than the remaining bytes to read. R=enne@chromium.org Bug: 924042 Change-Id: Ib4acf3a9d1887b71c7fa23a62f6ff138649f9042 Reviewed-on: https://chromium-review.googlesource.com/c/1427560 Commit-Queue: Khushal <khushalsagar@chromium.org> Commit-Queue: enne <enne@chromium.org> Auto-Submit: Khushal <khushalsagar@chromium.org> Reviewed-by: enne <enne@chromium.org> Cr-Commit-Position: refs/heads/master@{#625074}
- Loading branch information