summaryrefslogtreecommitdiff
path: root/core/fpdfdoc/cpdf_variabletext.cpp
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-02-07 20:00:25 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-07 20:00:25 +0000
commit6c67da092ce8bb384f60e2eae32e18b7283ae76e (patch)
tree0c803c04d7313936e7a528f9bff715e0772d52a8 /core/fpdfdoc/cpdf_variabletext.cpp
parentec7d8e21e72562d664e9596cb73bae6da8d6703c (diff)
downloadpdfium-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/fpdfdoc/cpdf_variabletext.cpp')
0 files changed, 0 insertions, 0 deletions