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

Issue 2545723004: Fix a leak when TIFFRGBAImageBegin fails (Closed)

Created:
4 years ago by npm
Modified:
4 years ago
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Fix a leak when TIFFRGBAImageBegin fails The method to create image can fail even after ycbcr has been set, so the current way to release is not enough. TIFFRGBAImageEnd is safe in that it checks for existence before deleting, and deletes whatever has been created. BUG=657473 Committed: https://pdfium.googlesource.com/pdfium/+/7341149c634e0ab9a619898826440f6e952cf0aa

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -4 lines) Patch
A third_party/libtiff/0010-fix-leak-imagebegin.patch View 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/libtiff/README.pdfium View 1 chunk +1 line, -0 lines 0 comments Download
M third_party/libtiff/tif_getimage.c View 1 chunk +1 line, -4 lines 0 comments Download

Messages

Total messages: 16 (9 generated)
npm
PTAL. Is there still something like an "official" libtiff repo or not any more? In ...
4 years ago (2016-12-01 21:26:15 UTC) #7
Tom Sepez
LGTM. Oliver may know about upstreaming patches.
4 years ago (2016-12-01 21:37:50 UTC) #8
Oliver Chang
On 2016/12/01 21:37:50, Tom Sepez wrote: > LGTM. Oliver may know about upstreaming patches. Never ...
4 years ago (2016-12-01 21:45:58 UTC) #9
npm
On 2016/12/01 21:45:58, Oliver Chang wrote: > On 2016/12/01 21:37:50, Tom Sepez wrote: > > ...
4 years ago (2016-12-01 21:52:04 UTC) #10
Ke Liu
On 2016/12/01 21:52:04, npm wrote: > On 2016/12/01 21:45:58, Oliver Chang wrote: > > On ...
4 years ago (2016-12-02 02:26:44 UTC) #11
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/2545723004/1
4 years ago (2016-12-05 16:27:12 UTC) #13
commit-bot: I haz the power
4 years ago (2016-12-05 16:38:39 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/7341149c634e0ab9a619898826440f6e952c...

Powered by Google App Engine
This is Rietveld 408576698