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

Issue 1920093005: Add a fuzzer for DNS hosts parser (Closed)

Created:
4 years, 7 months ago by Zhongyi Shi
Modified:
4 years, 7 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, aizatsky
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add a fuzzer for DNS hosts parser BUG=600006 Committed: https://crrev.com/273af9f81bc0dea4e77d1f527e9c45f3f2dd676d Cr-Commit-Position: refs/heads/master@{#390433}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : test with both comma modes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -0 lines) Patch
M net/BUILD.gn View 1 chunk +11 lines, -0 lines 0 comments Download
A net/dns/dns_hosts_parse_fuzzer.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Zhongyi Shi
Hi Matt, I was trying to fuzz the dns host parser. Is this patch doing ...
4 years, 7 months ago (2016-04-28 02:52:41 UTC) #3
mmenke
LGTM! [+aizatsky]: FYI. https://codereview.chromium.org/1920093005/diff/20001/net/dns/dns_hosts_parse_fuzzer.cc File net/dns/dns_hosts_parse_fuzzer.cc (right): https://codereview.chromium.org/1920093005/diff/20001/net/dns/dns_hosts_parse_fuzzer.cc#newcode16 net/dns/dns_hosts_parse_fuzzer.cc:16: net::ParseHosts(input, &dns_hosts); I'd suggest calling ParseHostsWithCommaModeForTesting ...
4 years, 7 months ago (2016-04-28 16:20:03 UTC) #5
Zhongyi Shi
Thanks for reviewing. I have changed the code to test with both comma modes. FYI, ...
4 years, 7 months ago (2016-04-28 17:35:17 UTC) #6
mmenke
Still LGTM. Sorry, I meant to CC aizatsky instead of adding him as a review. ...
4 years, 7 months ago (2016-04-28 17:45:24 UTC) #7
Zhongyi Shi
Ah, gotcha, thanks for clarifications!
4 years, 7 months ago (2016-04-28 17:51:43 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1920093005/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1920093005/40001
4 years, 7 months ago (2016-04-28 17:52:27 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 7 months ago (2016-04-28 18:46:48 UTC) #14
commit-bot: I haz the power
4 years, 7 months ago (2016-04-30 17:19:54 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/273af9f81bc0dea4e77d1f527e9c45f3f2dd676d
Cr-Commit-Position: refs/heads/master@{#390433}

Powered by Google App Engine
This is Rietveld 408576698