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

Issue 2489653003: Fix abort above FPDFPage_Flatten (Closed)

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

Description

Fix abort above FPDFPage_Flatten Main issue: FPDFPage_Flatten trying to re-add an indirect object. BUG=662698 Committed: https://pdfium.googlesource.com/pdfium/+/d0ecd899d632461bd6dc53e32b42bbd3a5d030ad

Patch Set 1 : Add failing test case first. #

Patch Set 2 : Fix issue #

Total comments: 2

Patch Set 3 : Fix it in code, not comments #

Patch Set 4 : Leak in test #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -11 lines) Patch
M BUILD.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M fpdfsdk/fpdf_flatten.cpp View 1 3 chunks +10 lines, -11 lines 0 comments Download
A fpdfsdk/fpdf_flatten_embeddertest.cpp View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (18 generated)
Tom Sepez
Lei, ready for review. It seems we never called FPDF_Flatten in any of the pdfium-side ...
4 years, 1 month ago (2016-11-08 19:42:58 UTC) #5
Tom Sepez
https://codereview.chromium.org/2489653003/diff/20001/fpdfsdk/fpdf_flatten.cpp File fpdfsdk/fpdf_flatten.cpp (left): https://codereview.chromium.org/2489653003/diff/20001/fpdfsdk/fpdf_flatten.cpp#oldcode400 fpdfsdk/fpdf_flatten.cpp:400: CFX_Matrix matrix = pAPDic->GetMatrixFor("Matrix"); Note: not used til below, ...
4 years, 1 month ago (2016-11-08 19:44:37 UTC) #6
Lei Zhang
LSAN says this is leaky.
4 years, 1 month ago (2016-11-08 19:52:36 UTC) #7
Tom Sepez
On 2016/11/08 19:52:36, Lei Zhang (slow) wrote: > LSAN says this is leaky. Fixed leaks ...
4 years, 1 month ago (2016-11-08 20:11:35 UTC) #17
Lei Zhang
On 2016/11/08 20:11:35, Tom Sepez wrote: > On 2016/11/08 19:52:36, Lei Zhang (slow) wrote: > ...
4 years, 1 month ago (2016-11-08 20:13:17 UTC) #18
Tom Sepez
I done did it.
4 years, 1 month ago (2016-11-08 22:52:30 UTC) #21
Lei Zhang
lgtm
4 years, 1 month ago (2016-11-08 22:57:57 UTC) #23
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/2489653003/80001
4 years, 1 month ago (2016-11-08 22:58:29 UTC) #25
commit-bot: I haz the power
4 years, 1 month ago (2016-11-09 01:30:08 UTC) #27
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://pdfium.googlesource.com/pdfium/+/d0ecd899d632461bd6dc53e32b42bbd3a5d0...

Powered by Google App Engine
This is Rietveld 408576698