From 20e25f2d6cbe4e9955a6e7c445749d5492548d76 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 6 Jan 2016 22:54:48 -0800 Subject: 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 . --- fpdfsdk/include/fpdfxfa/fpdfxfa_doc.h | 1 - 1 file changed, 1 deletion(-) (limited to 'fpdfsdk/include') 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); -- cgit v1.2.3