summaryrefslogtreecommitdiff
path: root/testing/gtest/empty.cc
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-05-25 16:08:29 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-05-25 16:08:29 +0000
commita2bb072a69b29695242a81e4b75c19c14c39acfb (patch)
treed9eac05e30bd44d2daee9126fe37cb4e321f22c8 /testing/gtest/empty.cc
parentda060ba107fba8ef679393b5622b6de2f4790379 (diff)
downloadpdfium-a2bb072a69b29695242a81e4b75c19c14c39acfb.tar.xz
[xfa] Clamp selStart, selEnd values in CJX_EventPseudoModel
This CL adds bounds checking for the selStart and selEnd settings of the event object. The selEnd is not allowed to be less then selStart. They are also not allowed to be negative. This also clamps them to the length of the prevText string. Bug: 1066 Change-Id: Ifc9113c669c83a4a97655554affbbce30c2bfc64 Reviewed-on: https://pdfium-review.googlesource.com/32933 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'testing/gtest/empty.cc')
0 files changed, 0 insertions, 0 deletions