diff options
author | Ryan Harrison <rharrison@chromium.org> | 2018-02-07 20:00:25 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-02-07 20:00:25 +0000 |
commit | 6c67da092ce8bb384f60e2eae32e18b7283ae76e (patch) | |
tree | 0c803c04d7313936e7a528f9bff715e0772d52a8 /core/fxge/cfx_cliprgn.h | |
parent | ec7d8e21e72562d664e9596cb73bae6da8d6703c (diff) | |
download | pdfium-6c67da092ce8bb384f60e2eae32e18b7283ae76e.tar.xz |
Check that request sizes in ReadData don't overflow
When a very large, bogus value, was being passed in for the number of
bytes to read, this could cause an overflow in the check for if there
is data available.
BUG=chromium:809824
Change-Id: I54af6655b61d39275f3ae6fabb27be2bee3fef05
Reviewed-on: https://pdfium-review.googlesource.com/25871
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxge/cfx_cliprgn.h')
0 files changed, 0 insertions, 0 deletions