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

Issue 2357173005: Clean up fx_codec_fax.cpp. (Closed)

Created:
4 years, 3 months ago by Lei Zhang
Modified:
4 years, 2 months ago
Reviewers:
Tom Sepez, kcwu
CC:
pdfium-reviews_googlegroups.com
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Patch Set 1 #

Patch Set 2 : Properly init variables #

Patch Set 3 : Use std::vector when possible #

Patch Set 4 : Fix bad refactor #

Patch Set 5 : rebase #

Total comments: 9

Patch Set 6 : address comments #

Patch Set 7 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+297 lines, -312 lines) Patch
M core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp View 1 2 3 4 5 6 7 chunks +41 lines, -44 lines 0 comments Download
M core/fxcodec/codec/ccodec_faxmodule.h View 1 1 chunk +3 lines, -9 lines 0 comments Download
M core/fxcodec/codec/ccodec_scanlinedecoder.h View 1 1 chunk +7 lines, -0 lines 0 comments Download
M core/fxcodec/codec/fx_codec.cpp View 1 1 chunk +18 lines, -1 line 0 comments Download
M core/fxcodec/codec/fx_codec_fax.cpp View 1 2 3 4 5 9 chunks +222 lines, -251 lines 0 comments Download
M testing/libfuzzer/pdf_codec_fax_fuzzer.cc View 1 2 3 4 5 1 chunk +6 lines, -7 lines 0 comments Download

Messages

Total messages: 30 (24 generated)
Lei Zhang
4 years, 3 months ago (2016-09-23 21:08:46 UTC) #12
Tom Sepez
lgtm https://codereview.chromium.org/2357173005/diff/80001/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp File core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp (right): https://codereview.chromium.org/2357173005/diff/80001/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp#newcode185 core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp:185: if (dest_size < old) note: OK, unsigned type. ...
4 years, 3 months ago (2016-09-23 21:55:48 UTC) #15
kcwu
lgtm https://codereview.chromium.org/2357173005/diff/80001/core/fxcodec/codec/fx_codec_fax.cpp File core/fxcodec/codec/fx_codec_fax.cpp (right): https://codereview.chromium.org/2357173005/diff/80001/core/fxcodec/codec/fx_codec_fax.cpp#newcode608 core/fxcodec/codec/fx_codec_fax.cpp:608: // Should not overflow. Checked by CCodec_FaxDecoder::CreateDecoder. Delete ...
4 years, 2 months ago (2016-09-24 03:00:57 UTC) #16
Lei Zhang
https://codereview.chromium.org/2357173005/diff/80001/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp File core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp (right): https://codereview.chromium.org/2357173005/diff/80001/core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp#newcode187 core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp:187: i += src_buf[i] + 2; On 2016/09/23 21:55:48, Tom ...
4 years, 2 months ago (2016-09-26 22:50:59 UTC) #19
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/2357173005/120001
4 years, 2 months ago (2016-09-26 23:14:14 UTC) #28
commit-bot: I haz the power
4 years, 2 months ago (2016-09-26 23:14:34 UTC) #30
Message was sent while issue was closed.
Committed patchset #7 (id:120001) as
https://pdfium.googlesource.com/pdfium/+/2ab466e3a59d845422e06e50bc38d4bf31ac...

Powered by Google App Engine
This is Rietveld 408576698