Avoid crashes caused by multiple DnsAttempts
When DnsUDPAttempt gets a mismatched response, it returns ERR_DNS_MALFORMED_RESPONSE but keeps the attempt running while another one starts. DnsTransaction doesn't handle this case very well. This CL handles the two crashes that the fuzzer has found and adds a regression test that catches both of them. There's a bug filed (https://crbug.com/779589) for a more complete fix. Bug: 768150, 774846 Change-Id: I0630d73a2e0d1cc179e7fe2139c030d58d25d90f Reviewed-on: https://chromium-review.googlesource.com/743810Reviewed-by:Julia Tuttle <juliatuttle@chromium.org> Commit-Queue: Miriam Gershenson <mgersh@chromium.org> Cr-Commit-Position: refs/heads/master@{#512864}
Showing
Please register or sign in to comment