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

Issue 2068513002: Add fuzzer for FDE CSS syntax parser. (Closed)

Created:
4 years, 6 months ago by dsinclair
Modified:
4 years, 6 months ago
Reviewers:
Lei Zhang, Oliver Chang
CC:
pdfium-reviews_googlegroups.com
Base URL:
https://pdfium.googlesource.com/pdfium.git@master
Target Ref:
refs/heads/master
Project:
pdfium
Visibility:
Public.

Description

Add fuzzer for FDE CSS syntax parser. This CL adds a fuzzer for the CSS Syntax parser in XFA. BUG=chromium:587126 Committed: https://pdfium.googlesource.com/pdfium/+/756d37943415ca15d491b79ba78012225a06db76

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add gyp rule #

Total comments: 2

Patch Set 3 : Use std::min #

Patch Set 4 : Make freetype headers visible to fuzzers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -3 lines) Patch
M testing/DEPS View 1 chunk +2 lines, -0 lines 0 comments Download
M testing/libfuzzer/BUILD.gn View 2 chunks +16 lines, -0 lines 0 comments Download
M testing/libfuzzer/fuzzers.gyp View 1 2 3 2 chunks +13 lines, -0 lines 0 comments Download
A testing/libfuzzer/pdf_css_fuzzer.cc View 1 chunk +31 lines, -0 lines 0 comments Download
M xfa/fxfa/parser/xfa_basic_imp.cpp View 1 2 1 chunk +4 lines, -3 lines 0 comments Download

Messages

Total messages: 20 (9 generated)
dsinclair
PTAL. https://codereview.chromium.org/2068513002/diff/1/xfa/fxfa/parser/xfa_basic_imp.cpp File xfa/fxfa/parser/xfa_basic_imp.cpp (right): https://codereview.chromium.org/2068513002/diff/1/xfa/fxfa/parser/xfa_basic_imp.cpp#newcode562 xfa/fxfa/parser/xfa_basic_imp.cpp:562: if (iMaxLength == 0) This is needed because ...
4 years, 6 months ago (2016-06-13 20:05:47 UTC) #2
Oliver Chang
GYP build configs? (so that buildbots catch fuzzer breakages before we roll) https://codereview.chromium.org/2068513002/diff/1/xfa/fxfa/parser/xfa_basic_imp.cpp File xfa/fxfa/parser/xfa_basic_imp.cpp ...
4 years, 6 months ago (2016-06-13 20:11:19 UTC) #3
dsinclair
Doh, added GYP build. https://codereview.chromium.org/2068513002/diff/1/xfa/fxfa/parser/xfa_basic_imp.cpp File xfa/fxfa/parser/xfa_basic_imp.cpp (right): https://codereview.chromium.org/2068513002/diff/1/xfa/fxfa/parser/xfa_basic_imp.cpp#newcode562 xfa/fxfa/parser/xfa_basic_imp.cpp:562: if (iMaxLength == 0) On ...
4 years, 6 months ago (2016-06-13 20:19:22 UTC) #4
Oliver Chang
lgtm
4 years, 6 months ago (2016-06-13 20:20:47 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2068513002/20001
4 years, 6 months ago (2016-06-13 20:24:55 UTC) #7
Lei Zhang
lgtm https://codereview.chromium.org/2068513002/diff/20001/xfa/fxfa/parser/xfa_basic_imp.cpp File xfa/fxfa/parser/xfa_basic_imp.cpp (right): https://codereview.chromium.org/2068513002/diff/20001/xfa/fxfa/parser/xfa_basic_imp.cpp#newcode560 xfa/fxfa/parser/xfa_basic_imp.cpp:560: if (iMaxLength > m_wsBuffer.GetLength() - m_iPosition) std::min() ?
4 years, 6 months ago (2016-06-13 20:30:39 UTC) #8
dsinclair
https://codereview.chromium.org/2068513002/diff/20001/xfa/fxfa/parser/xfa_basic_imp.cpp File xfa/fxfa/parser/xfa_basic_imp.cpp (right): https://codereview.chromium.org/2068513002/diff/20001/xfa/fxfa/parser/xfa_basic_imp.cpp#newcode560 xfa/fxfa/parser/xfa_basic_imp.cpp:560: if (iMaxLength > m_wsBuffer.GetLength() - m_iPosition) On 2016/06/13 20:30:38, ...
4 years, 6 months ago (2016-06-13 20:35:27 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2068513002/40001
4 years, 6 months ago (2016-06-13 20:35:34 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_xfa on master.tryserver.client.pdfium (JOB_FAILED, https://build.chromium.org/p/tryserver.client.pdfium/builders/linux_xfa/builds/1086)
4 years, 6 months ago (2016-06-13 20:56:25 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2068513002/60001
4 years, 6 months ago (2016-06-14 14:21:50 UTC) #18
commit-bot: I haz the power
4 years, 6 months ago (2016-06-14 14:34:25 UTC) #20
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://pdfium.googlesource.com/pdfium/+/756d37943415ca15d491b79ba78012225a06...

Powered by Google App Engine
This is Rietveld 408576698