Chromium Code Reviews
DescriptionMockHostResolver: Don't resolve some types of invalid DNS addresses.
The MockHostResolver didn't have the DNS validity check that
HostResolverImpl had. This was causing a fuzzer to send invalid domains
to the CookieStore code, causing DCHECKs.
Also prevent invalid DNS addresses from being put in the HOSTS list,
when using the internal resolver, as that list is checked before
checking if DNS addresses are valid.
BUG=632606
Committed: https://crrev.com/d6e9161aff5787fa445cbbbdf8dbc48ac95d38ac
Cr-Commit-Position: refs/heads/master@{#417723}
Patch Set 1 #Patch Set 2 : Remove test line #Patch Set 3 : NET_EXPORT_PRIVATE #
Total comments: 2
Patch Set 4 : Oops #
Messages
Total messages: 20 (14 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||