summaryrefslogtreecommitdiff
path: root/third_party
diff options
context:
space:
mode:
authorNicolas Pena <npm@chromium.org>2017-02-10 15:47:50 -0500
committerNicolas Pena <npm@chromium.org>2017-02-10 15:47:50 -0500
commit6058ea2afb83b07834bd0fcb275c2934a60ffcaa (patch)
tree7beedef4057ae0549158c5bf9462a33b12d711a0 /third_party
parentbc8dcc3ede286fbcaac3f741c379297cffff0eea (diff)
downloadpdfium-6058ea2afb83b07834bd0fcb275c2934a60ffcaa.tar.xz
[M57] Limit parsing recursion levels in CPDF_StreamParser
We currently only limit the array recursion levels. This recursion level may also be reset when parsing. This is insufficient to protect against stack overflows. BUG=681920 TBR=dsinclair@chromium.org, tsepez@chromium.org Change-Id: I69bd0c912fb45c0e68b9b9fa961d43f0adc9bdd3 Reviewed-on: https://pdfium-review.googlesource.com/2434 Commit-Queue: Nicolás Peña <npm@chromium.org> Reviewed-by: Tom Sepez <tsepez@chromium.org> (cherry picked from commit 6438c4f36da162f72e0d53e8fff45cd6687b7f5c) Review-Url: https://codereview.chromium.org/2686193003 .
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions