diff options
author | Jun Fang <jun_fang@foxitsoftware.com> | 2015-12-01 12:23:42 +0800 |
---|---|---|
committer | Jun Fang <jun_fang@foxitsoftware.com> | 2015-12-01 12:23:42 +0800 |
commit | 0e4e36878682e22678bb061e77d73f3a4581985c (patch) | |
tree | 0475185ad24bfc66cd02621605c5eab7cad63d4b /xfa/include | |
parent | cd0e00a305479505b9c759e86bc8ebfd4ecdc4f4 (diff) | |
download | pdfium-0e4e36878682e22678bb061e77d73f3a4581985c.tar.xz |
Fix a crasher due to recursion in CXFA_WidgetAcc::ExecuteScript()
BUG=pdfium:292
R=tsepez@chromium.org
Review URL: https://codereview.chromium.org/1486573002 .
Diffstat (limited to 'xfa/include')
-rw-r--r-- | xfa/include/fxfa/fxfa_widget.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xfa/include/fxfa/fxfa_widget.h b/xfa/include/fxfa/fxfa_widget.h index 634a287628..3040dafcbc 100644 --- a/xfa/include/fxfa/fxfa_widget.h +++ b/xfa/include/fxfa/fxfa_widget.h @@ -113,5 +113,6 @@ class CXFA_WidgetAcc : public CXFA_WidgetData { void StartTextLayout(FX_FLOAT& fCalcWidth, FX_FLOAT& fCalcHeight);
CXFA_FFDocView* m_pDocView;
CXFA_WidgetLayoutData* m_pLayoutData;
+ uint32_t m_nRecursionDepth;
};
#endif
|