diff options
author | Lei Zhang <thestig@chromium.org> | 2016-01-06 22:54:48 -0800 |
---|---|---|
committer | Lei Zhang <thestig@chromium.org> | 2016-01-06 22:54:48 -0800 |
commit | 20e25f2d6cbe4e9955a6e7c445749d5492548d76 (patch) | |
tree | f8050017d4fd24cdb6b33d37067386a55465577d /fpdfsdk/include | |
parent | ab5537db5f9f52f19dea03850512fd6b10bdcd84 (diff) | |
download | pdfium-20e25f2d6cbe4e9955a6e7c445749d5492548d76.tar.xz |
XFA: Change the destruction order inside CPDFXFA_Document to avoid UAFs.
R=jun_fang@foxitsoftware.com, tsepez@chromium.org
Review URL: https://codereview.chromium.org/1566903002 .
Diffstat (limited to 'fpdfsdk/include')
-rw-r--r-- | fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h index 451b561ba0..c61214371d 100644 --- a/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h +++ b/fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h @@ -37,7 +37,6 @@ class CPDFXFA_Document : public IXFA_DocProvider { int GetDocType() { return m_iDocType; }
CPDFSDK_Document* GetSDKDocument(CPDFDoc_Environment* pFormFillEnv);
- void ReleaseSDKDoc();
void FXRect2PDFRect(const CFX_RectF& fxRectF, CPDF_Rect& pdfRect);
|