Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(835)

Issue 2398063002: Fixup MSan embeddertests (Closed)

Created:
4 years, 2 months ago by dsinclair
Modified:
4 years, 2 months ago
Reviewers:
Tom Sepez, Lei Zhang
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Fixup MSan embeddertests The embeddertests were closing the document before the formfill environment. This caused a use-after-free as we try to use the document during formfill destruction. This Cl fixes the destruction order in the embedder tests. As well, a few guards are put in place to keep the system from crashing if the wrong destruction order is called. R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/ca03f7a1c654709152a411f665ce38c3626582e8

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -9 lines) Patch
M fpdfsdk/cpdfsdk_document.h View 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/fpdfformfill.cpp View 1 chunk +4 lines, -1 line 0 comments Download
M fpdfsdk/fpdfxfa/cpdfxfa_document.cpp View 1 chunk +3 lines, -0 lines 0 comments Download
M testing/embedder_test.cpp View 1 chunk +0 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (8 generated)
dsinclair
PTAL.
4 years, 2 months ago (2016-10-06 13:17:49 UTC) #4
Tom Sepez
lgtm
4 years, 2 months ago (2016-10-06 18:33:34 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2398063002/1
4 years, 2 months ago (2016-10-06 18:33:39 UTC) #9
Tom Sepez
On 2016/10/06 18:33:39, commit-bot: I haz the power wrote: > CQ is trying da patch. ...
4 years, 2 months ago (2016-10-06 18:48:06 UTC) #10
dsinclair
4 years, 2 months ago (2016-10-06 18:53:18 UTC) #13
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
ca03f7a1c654709152a411f665ce38c3626582e8 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698