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

Issue 2284063002: Fix for #618267. Adding a method to determine if multiplication has (Closed)

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

Description

Fix for #618267. Adding a method to determine if multiplication has overflow. BUG=618267 Committed: https://pdfium.googlesource.com/pdfium/+/dda2c0dc502b50d4de66b80305441bfb612ec6c1

Patch Set 1 #

Total comments: 3

Patch Set 2 : remove unnecessary comments #

Patch Set 3 : changing naming logic #

Patch Set 4 : creating a patch and modifying readme for libtiff #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -1 line) Patch
M core/fxcodec/codec/fx_codec_tiff.cpp View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A third_party/libtiff/0006-HeapBufferOverflow-ChopUpSingleUncompressedStrip.patch View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
M third_party/libtiff/README.pdfium View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M third_party/libtiff/tif_aux.c View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/libtiff/tiffio.h View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 25 (13 generated)
tracy_jiang
Dear all, This is a Foxit fix for #618267. PTAL. Best Regards, -Tracy
4 years, 3 months ago (2016-08-26 22:54:36 UTC) #12
Tom Sepez
Thanks. This will work. This bug shows why sizes should be unsigned ... the optimizer ...
4 years, 3 months ago (2016-08-26 23:05:29 UTC) #13
tracy_jiang
On 2016/08/26 23:05:29, Tom Sepez wrote: > Thanks. This will work. > > This bug ...
4 years, 3 months ago (2016-08-26 23:13:02 UTC) #14
Tom Sepez
On 2016/08/26 23:13:02, tracy_jiang wrote: > On 2016/08/26 23:05:29, Tom Sepez wrote: > > Thanks. ...
4 years, 3 months ago (2016-08-26 23:19:32 UTC) #15
tracy_jiang
https://codereview.chromium.org/2284063002/diff/1/core/fxcodec/codec/fx_codec_tiff.cpp File core/fxcodec/codec/fx_codec_tiff.cpp (right): https://codereview.chromium.org/2284063002/diff/1/core/fxcodec/codec/fx_codec_tiff.cpp#newcode82 core/fxcodec/codec/fx_codec_tiff.cpp:82: int _TIFFIfMultiplicationOverflow(tmsize_t op1, tmsize_t op2) { On 2016/08/26 23:05:28, ...
4 years, 3 months ago (2016-08-26 23:44:16 UTC) #16
Tom Sepez
On 2016/08/26 23:44:16, tracy_jiang wrote: > https://codereview.chromium.org/2284063002/diff/1/core/fxcodec/codec/fx_codec_tiff.cpp > File core/fxcodec/codec/fx_codec_tiff.cpp (right): > > https://codereview.chromium.org/2284063002/diff/1/core/fxcodec/codec/fx_codec_tiff.cpp#newcode82 > ...
4 years, 3 months ago (2016-08-26 23:54:50 UTC) #17
tracy_jiang
On 2016/08/26 23:54:50, Tom Sepez wrote: > On 2016/08/26 23:44:16, tracy_jiang wrote: > > > ...
4 years, 3 months ago (2016-08-27 00:12:08 UTC) #18
Tom Sepez
Code is fine, can you create a .patch file and update README.pdfium in the libtiff ...
4 years, 3 months ago (2016-08-29 16:20:50 UTC) #19
tracy_jiang
On 2016/08/29 16:20:50, Tom Sepez wrote: > Code is fine, can you create a .patch ...
4 years, 3 months ago (2016-08-29 20:05:13 UTC) #20
Tom Sepez
lgtm
4 years, 3 months ago (2016-08-29 20:25:50 UTC) #22
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/2284063002/60001
4 years, 3 months ago (2016-08-29 20:25:56 UTC) #23
commit-bot: I haz the power
4 years, 3 months ago (2016-08-29 20:43:01 UTC) #25
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/dda2c0dc502b50d4de66b80305441bfb612e...

Powered by Google App Engine
This is Rietveld 408576698