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 2000993003: [libfuzzer] Add expat_xml_parse_fuzzer for third_party/expat. (Closed)

Created:
4 years, 7 months ago by mmoroz
Modified:
4 years, 7 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[libfuzzer] Add expat_xml_parse_fuzzer for third_party/expat. R=aizatsky@chromium.org, inferno@chromium.org, kcc@chromium.org, ochang@chromium.org,thakis@chromium.org BUG=539572 Committed: https://crrev.com/be140444afefbe856622297c14327aaf186af91f Cr-Commit-Position: refs/heads/master@{#395907}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add different encodings + small codestyle fixes. #

Total comments: 2

Patch Set 3 : Use isFinal as a variable + adding a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -0 lines) Patch
M third_party/expat/BUILD.gn View 2 chunks +11 lines, -0 lines 0 comments Download
A third_party/expat/fuzz/expat_xml_parse_fuzzer.cc View 1 2 1 chunk +63 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (8 generated)
mmoroz
This is a draft CL with an example of fuzzer for expat.
4 years, 7 months ago (2016-05-23 12:57:26 UTC) #1
kcc2
lgtm
4 years, 7 months ago (2016-05-23 15:43:45 UTC) #2
mmoroz
https://codereview.chromium.org/2000993003/diff/1/third_party/expat/fuzz/expat_xml_parse_fuzzer.cc File third_party/expat/fuzz/expat_xml_parse_fuzzer.cc (right): https://codereview.chromium.org/2000993003/diff/1/third_party/expat/fuzz/expat_xml_parse_fuzzer.cc#newcode32 third_party/expat/fuzz/expat_xml_parse_fuzzer.cc:32: XML_Parser parser = XML_ParserCreate(NULL); Probably worth to use several ...
4 years, 7 months ago (2016-05-23 18:06:55 UTC) #3
mmoroz
Not sure how soon we will remove expat (will we?), so probably worth to land ...
4 years, 7 months ago (2016-05-25 10:41:55 UTC) #4
inferno
lgtm https://codereview.chromium.org/2000993003/diff/20001/third_party/expat/fuzz/expat_xml_parse_fuzzer.cc File third_party/expat/fuzz/expat_xml_parse_fuzzer.cc (right): https://codereview.chromium.org/2000993003/diff/20001/third_party/expat/fuzz/expat_xml_parse_fuzzer.cc#newcode51 third_party/expat/fuzz/expat_xml_parse_fuzzer.cc:51: if (XML_Parse(parser, dataPtr, size, false) == XML_STATUS_ERROR) { ...
4 years, 7 months ago (2016-05-25 14:16:19 UTC) #5
mmoroz
https://codereview.chromium.org/2000993003/diff/20001/third_party/expat/fuzz/expat_xml_parse_fuzzer.cc File third_party/expat/fuzz/expat_xml_parse_fuzzer.cc (right): https://codereview.chromium.org/2000993003/diff/20001/third_party/expat/fuzz/expat_xml_parse_fuzzer.cc#newcode51 third_party/expat/fuzz/expat_xml_parse_fuzzer.cc:51: if (XML_Parse(parser, dataPtr, size, false) == XML_STATUS_ERROR) { On ...
4 years, 7 months ago (2016-05-25 14:27:31 UTC) #6
inferno
lgtm
4 years, 7 months ago (2016-05-25 14:46:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000993003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000993003/40001
4 years, 7 months ago (2016-05-25 14:46:25 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/189579)
4 years, 7 months ago (2016-05-25 14:53:12 UTC) #12
mmoroz
+thakis@, since //third_party/expat doesn't have an owner. Please take a look.
4 years, 7 months ago (2016-05-25 16:04:24 UTC) #15
Nico
lgtm (sigh for having both libexpat and libxml)
4 years, 7 months ago (2016-05-25 16:09:26 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2000993003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2000993003/40001
4 years, 7 months ago (2016-05-25 16:17:46 UTC) #18
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 7 months ago (2016-05-25 16:26:25 UTC) #20
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 16:28:25 UTC) #22
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/be140444afefbe856622297c14327aaf186af91f
Cr-Commit-Position: refs/heads/master@{#395907}

Powered by Google App Engine
This is Rietveld 408576698