diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-01-29 18:02:20 -0800 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-01-29 18:02:20 -0800 |
commit | 14b2bb0adcd723a463140929cbd9453a799a34e6 (patch) | |
tree | a50085210476a07059eb2467a69b3f2f7cdcdfa5 /core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp | |
parent | 1d43e82efde0ddbad4a3e32d860a597c3bb6ab83 (diff) | |
download | pdfium-14b2bb0adcd723a463140929cbd9453a799a34e6.tar.xz |
Fix infinite recursion in CPDF_RenderStatus::RenderSingleObject().
Introduce a local static to track the recursion depth, thereby removing
the burden for callers to track and pass a level parameter correctly through
all call paths. Also increase the depth tolerated, since we know there
were paths that were under-counting this value.
BUG=451265
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/868253009
Diffstat (limited to 'core/src/fpdfapi/fpdf_page/fpdf_page_image.cpp')
0 files changed, 0 insertions, 0 deletions