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

Issue 2360283004: Bail out on bad size and height in CCodec_FaxDecoder::CreateDecoder (Closed)

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

Description

Bail out on bad width and height in CCodec_FaxDecoder::CreateDecoder BUG=648935, 649436 Committed: https://pdfium.googlesource.com/pdfium/+/4dd613cb51c1d77ac2998f760325ed5b93f4ebf0

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -7 lines) Patch
M core/fpdfapi/fpdf_parser/fpdf_parser_decode.cpp View 1 chunk +0 lines, -3 lines 0 comments Download
M core/fxcodec/codec/fx_codec_fax.cpp View 3 chunks +12 lines, -1 line 0 comments Download
M testing/libfuzzer/pdf_codec_fax_fuzzer.cc View 1 chunk +5 lines, -3 lines 2 comments Download

Messages

Total messages: 11 (5 generated)
kcwu
4 years, 2 months ago (2016-09-23 12:10:18 UTC) #3
Tom Sepez
lgtm https://codereview.chromium.org/2360283004/diff/1/testing/libfuzzer/pdf_codec_fax_fuzzer.cc File testing/libfuzzer/pdf_codec_fax_fuzzer.cc (right): https://codereview.chromium.org/2360283004/diff/1/testing/libfuzzer/pdf_codec_fax_fuzzer.cc#newcode32 testing/libfuzzer/pdf_codec_fax_fuzzer.cc:32: std::unique_ptr<CCodec_ScanlineDecoder> decoder; nit: combine wth next line std::unique_ptr<CCodec_ScanlineDecoder> ...
4 years, 2 months ago (2016-09-23 16:05:33 UTC) #5
Lei Zhang
lgtm I'm fine with doing checks earlier.
4 years, 2 months ago (2016-09-23 16:15:03 UTC) #6
Lei Zhang
https://codereview.chromium.org/2360283004/diff/1/testing/libfuzzer/pdf_codec_fax_fuzzer.cc File testing/libfuzzer/pdf_codec_fax_fuzzer.cc (right): https://codereview.chromium.org/2360283004/diff/1/testing/libfuzzer/pdf_codec_fax_fuzzer.cc#newcode32 testing/libfuzzer/pdf_codec_fax_fuzzer.cc:32: std::unique_ptr<CCodec_ScanlineDecoder> decoder; On 2016/09/23 16:05:33, Tom Sepez wrote: > ...
4 years, 2 months ago (2016-09-23 16:15:46 UTC) #7
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/2360283004/1
4 years, 2 months ago (2016-09-23 16:15:55 UTC) #9
commit-bot: I haz the power
4 years, 2 months ago (2016-09-23 16:26:54 UTC) #11
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://pdfium.googlesource.com/pdfium/+/4dd613cb51c1d77ac2998f760325ed5b93f4...

Powered by Google App Engine
This is Rietveld 408576698