diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2018-04-11 00:13:36 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-04-11 00:13:36 +0000 |
commit | 6bebd2e3cfb7790580722836d0debab3103c94d0 (patch) | |
tree | cb8096e419b61d4b6aa6214ac7779f672d0761d9 /fpdfsdk/cpdfsdk_xfawidget.cpp | |
parent | 486f39568b6f336b4e6c81300ee9caae54ebdff2 (diff) | |
download | pdfium-6bebd2e3cfb7790580722836d0debab3103c94d0.tar.xz |
Avoid stack overflow when loading CPDF_Function.chromium/3395
CPDF_StitchFuncs that reference each other create a Load() loop.
Maintaining a set of the visited CPDF_Objects during a Load()
call tree prevents that.
Bug: chromium:830221
Change-Id: I6f494da16c6d79f05870ff85cff38ff8fe69ecfe
Reviewed-on: https://pdfium-review.googlesource.com/30050
Commit-Queue: dsinclair <dsinclair@chromium.org>
Reviewed-by: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'fpdfsdk/cpdfsdk_xfawidget.cpp')
0 files changed, 0 insertions, 0 deletions