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

Issue 1124563002: Fix a couple of divide by zero crashes in PNG/TIFF predictors. (Closed)

Created:
5 years, 7 months ago by Lei Zhang
Modified:
5 years, 7 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Fix a couple of divide by zero crashes in PNG/TIFF predictors. BUG=484002 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/6ab919ff310fb02bab8cf43d92a5553b11cbbb61

Patch Set 1 : #

Total comments: 2

Patch Set 2 : return a bool #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -48 lines) Patch
M core/src/fxcodec/codec/fx_codec_flate.cpp View 1 2 12 chunks +70 lines, -48 lines 0 comments Download

Messages

Total messages: 8 (2 generated)
Lei Zhang
5 years, 7 months ago (2015-05-04 05:20:57 UTC) #3
Tom Sepez
https://codereview.chromium.org/1124563002/diff/20001/core/src/fxcodec/codec/fx_codec_flate.cpp File core/src/fxcodec/codec/fx_codec_flate.cpp (right): https://codereview.chromium.org/1124563002/diff/20001/core/src/fxcodec/codec/fx_codec_flate.cpp#newcode236 core/src/fxcodec/codec/fx_codec_flate.cpp:236: if (row_size == 0) what happens after we take ...
5 years, 7 months ago (2015-05-04 15:23:12 UTC) #4
Lei Zhang
https://codereview.chromium.org/1124563002/diff/20001/core/src/fxcodec/codec/fx_codec_flate.cpp File core/src/fxcodec/codec/fx_codec_flate.cpp (right): https://codereview.chromium.org/1124563002/diff/20001/core/src/fxcodec/codec/fx_codec_flate.cpp#newcode236 core/src/fxcodec/codec/fx_codec_flate.cpp:236: if (row_size == 0) On 2015/05/04 15:23:12, Tom Sepez ...
5 years, 7 months ago (2015-05-04 23:19:36 UTC) #5
Tom Sepez
lgtm https://codereview.chromium.org/1124563002/diff/60001/core/src/fxcodec/codec/fx_codec_flate.cpp File core/src/fxcodec/codec/fx_codec_flate.cpp (right): https://codereview.chromium.org/1124563002/diff/60001/core/src/fxcodec/codec/fx_codec_flate.cpp#newcode945 core/src/fxcodec/codec/fx_codec_flate.cpp:945: FX_Free(pSrcBuf); Pity there isn't a way to do ...
5 years, 7 months ago (2015-05-06 17:08:11 UTC) #6
Lei Zhang
https://codereview.chromium.org/1124563002/diff/60001/core/src/fxcodec/codec/fx_codec_flate.cpp File core/src/fxcodec/codec/fx_codec_flate.cpp (right): https://codereview.chromium.org/1124563002/diff/60001/core/src/fxcodec/codec/fx_codec_flate.cpp#newcode945 core/src/fxcodec/codec/fx_codec_flate.cpp:945: FX_Free(pSrcBuf); On 2015/05/06 17:08:11, Tom Sepez wrote: > Pity ...
5 years, 7 months ago (2015-05-06 19:24:16 UTC) #7
Lei Zhang
5 years, 7 months ago (2015-05-06 19:34:31 UTC) #8
Message was sent while issue was closed.
Committed patchset #4 (id:80001) manually as
6ab919ff310fb02bab8cf43d92a5553b11cbbb61 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698