summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_allstates.h
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-08-08 15:04:26 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-08-08 15:04:26 +0000
commit6d9897b103aef10b369eb999a40c22011a8ae4f5 (patch)
tree5810fcece4c8e37c902a6e9ee17c9d158ccd88ec /core/fpdfapi/page/cpdf_allstates.h
parentf90277e7f4bd99bba419b53341c6c7bdca478eed (diff)
downloadpdfium-chromium/3517.tar.xz
Limit size of expression list in FormCalc parserchromium/3517
Limits the number of elements that can be added to the expressions list in the FormCalc parser. This handles cases like long strings of ! repeated, since ! is a valid identifier and identifiers are valid expression, even though it will be no-op. This is another case of something that is valid, but stupid. BUG=chromium:870385 Change-Id: I8e34ce00bcbe4499e0a45bd5dc38541793144481 Reviewed-on: https://pdfium-review.googlesource.com/39630 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfapi/page/cpdf_allstates.h')
0 files changed, 0 insertions, 0 deletions