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

Issue 2292313003: Avoid leaking params if any entry bad. (Closed)

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

Description

Avoid leaking params if any entry bad. The call to png_set_pCAL can call into png_error for several reasons. This CL verifies that the params are valid before calling into png_set_pCAL. BUG=chromium:636214 Committed: https://pdfium.googlesource.com/pdfium/+/8e783a6b2c165b5d3dcdf9e4d4c2526ac18c77c8

Patch Set 1 #

Patch Set 2 : Update patch #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -5 lines) Patch
A third_party/libpng16/0003-check-errors-in-set-pcal.patch View 1 1 chunk +47 lines, -0 lines 0 comments Download
M third_party/libpng16/README.pdfium View 1 1 chunk +1 line, -0 lines 0 comments Download
M third_party/libpng16/pngset.c View 1 2 chunks +17 lines, -5 lines 0 comments Download

Messages

Total messages: 19 (8 generated)
dsinclair
PTAL.
4 years, 3 months ago (2016-08-31 14:25:54 UTC) #2
Lei Zhang
+msarett for libpng.
4 years, 3 months ago (2016-08-31 15:27:34 UTC) #4
msarett
Can we file an issue and suggest this fix to upstream? https://github.com/glennrp/libpng
4 years, 3 months ago (2016-09-01 03:25:55 UTC) #9
dsinclair
On 2016/09/01 03:25:55, msarett wrote: > Can we file an issue and suggest this fix ...
4 years, 3 months ago (2016-09-01 18:42:14 UTC) #10
msarett
On 2016/09/01 18:42:14, dsinclair wrote: > On 2016/09/01 03:25:55, msarett wrote: > > Can we ...
4 years, 3 months ago (2016-09-01 18:43:55 UTC) #11
dsinclair
On 2016/09/01 18:43:55, msarett wrote: > On 2016/09/01 18:42:14, dsinclair wrote: > > On 2016/09/01 ...
4 years, 3 months ago (2016-09-06 13:45:53 UTC) #12
msarett
On 2016/09/06 13:45:53, dsinclair wrote: > On 2016/09/01 18:43:55, msarett wrote: > > On 2016/09/01 ...
4 years, 3 months ago (2016-09-06 14:04:04 UTC) #13
dsinclair
On 2016/09/06 14:04:04, msarett wrote: > On 2016/09/06 13:45:53, dsinclair wrote: > > On 2016/09/01 ...
4 years, 3 months ago (2016-09-06 14:06:37 UTC) #14
Lei Zhang
lgtm
4 years, 3 months ago (2016-09-06 15:33:27 UTC) #15
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/2292313003/20001
4 years, 3 months ago (2016-09-06 15:36:51 UTC) #17
commit-bot: I haz the power
4 years, 3 months ago (2016-09-06 15:56:49 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://pdfium.googlesource.com/pdfium/+/8e783a6b2c165b5d3dcdf9e4d4c2526ac18c...

Powered by Google App Engine
This is Rietveld 408576698