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

Issue 372453005: Fix uninitialized coords and one of infinite loops (Closed)

Created:
6 years, 5 months ago by jun_fang
Modified:
6 years, 4 months ago
Reviewers:
Tom Sepez
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Visibility:
Public.

Description

Fix uninitialized coords and one of infinite loops BUG=387854 R=tsepez@chromium.org Committed: https://pdfium.googlesource.com/pdfium/+/10ec7ca

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 4

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -4 lines) Patch
M core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp View 1 2 3 chunks +34 lines, -4 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Tom Sepez
https://codereview.chromium.org/372453005/diff/1/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp File core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp (right): https://codereview.chromium.org/372453005/diff/1/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp#newcode667 core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp:667: FX_BOOL _CheckCoonTensorPara(CPDF_MeshStream &stream) nit: static https://codereview.chromium.org/372453005/diff/1/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp#newcode669 core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp:669: FX_BOOL bCoorBits ...
6 years, 5 months ago (2014-07-14 21:38:01 UTC) #1
Tom Sepez
https://codereview.chromium.org/372453005/diff/1/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp File core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp (right): https://codereview.chromium.org/372453005/diff/1/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp#newcode667 core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp:667: FX_BOOL _CheckCoonTensorPara(CPDF_MeshStream &stream) nit: const CPDF_MeshStream&
6 years, 5 months ago (2014-07-15 18:27:26 UTC) #2
Tom Sepez
LGTM with a few nits. https://codereview.chromium.org/372453005/diff/1/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp File core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp (right): https://codereview.chromium.org/372453005/diff/1/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp#newcode722 core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp:722: { nit: brace on ...
6 years, 5 months ago (2014-07-15 18:35:45 UTC) #3
jun_fang
On 2014/07/15 18:35:45, Tom Sepez wrote: > LGTM with a few nits. > > https://codereview.chromium.org/372453005/diff/1/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp ...
6 years, 5 months ago (2014-07-15 22:12:24 UTC) #4
Tom Sepez
> Shall I deliver this partial fix first or wait for the final fix? Its ...
6 years, 5 months ago (2014-07-15 22:14:05 UTC) #5
jun_fang
On 2014/07/15 22:14:05, Tom Sepez wrote: > > Shall I deliver this partial fix first ...
6 years, 5 months ago (2014-07-15 23:55:51 UTC) #6
Tom Sepez
Still LGTM, but a few new nits. https://codereview.chromium.org/372453005/diff/20001/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp File core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp (right): https://codereview.chromium.org/372453005/diff/20001/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp#newcode708 core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp:708: if (!_CheckCoonTensorPara(stream)){ ...
6 years, 5 months ago (2014-07-22 17:27:21 UTC) #7
Tom Sepez
https://codereview.chromium.org/372453005/diff/20001/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp File core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp (right): https://codereview.chromium.org/372453005/diff/20001/core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp#newcode669 core/src/fpdfapi/fpdf_render/fpdf_render_pattern.cpp:669: static FX_BOOL _CheckCoonTensorPara(CPDF_MeshStream& stream) nit: const CPDF_MeshStream&
6 years, 5 months ago (2014-07-22 17:28:52 UTC) #8
jun_fang
Hi Tom, please review my update. Thanks!
6 years, 4 months ago (2014-07-30 18:42:29 UTC) #9
Tom Sepez
LGTM++. Thanks for removing some more of those unused locals.
6 years, 4 months ago (2014-07-30 18:51:51 UTC) #10
jun_fang
6 years, 4 months ago (2014-07-31 06:13:19 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 manually as r10ec7ca (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698