summaryrefslogtreecommitdiff
path: root/xfa/fxfa/cxfa_ffline.h
diff options
context:
space:
mode:
authorDan Sinclair <dsinclair@chromium.org>2018-02-15 15:09:45 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-02-15 15:09:45 +0000
commit46f79aaad8330857e58cfd3928fdf91678112ae0 (patch)
treeaf3942be6aaf45858a0faf598e97c0d44afe5003 /xfa/fxfa/cxfa_ffline.h
parentc4ffab7a2308dabdc2ba1355902d94f7cc3b2d8f (diff)
downloadpdfium-46f79aaad8330857e58cfd3928fdf91678112ae0.tar.xz
Add limit to number of formcalc expressions
Currently it's possible to create a formcalc script which creates a large number of expressions. This will eventually cause stack exhaustion as we try to allocate the needed expression objects. This CL limits the number of parsed expressions in the PostExpression section in order to keep from failing due to stack overflow. Bug: chromium:799721 Change-Id: I69fca35db7f75ef97aec21c22fc06d926dfe2df6 Reviewed-on: https://pdfium-review.googlesource.com/26870 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'xfa/fxfa/cxfa_ffline.h')
0 files changed, 0 insertions, 0 deletions