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

Issue 12088090: Fix a memory error in ProxyResolverV8Tracing. (Closed)

Created:
7 years, 10 months ago by eroman
Modified:
7 years, 10 months ago
Reviewers:
mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Fix a memory error in ProxyResolverV8Tracing. The problem could happen when executing: ProxyResolverV8TracingTest.CancelWhileBlockedInNonBlockingDns The issue was the Job was not expecting it could get cancelled within the call to the HostResolver. It now handles this case, and I have added a Sleep() so the timing conditions for this problem manifest consistently. BUG=173373, 119151 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=180021

Patch Set 1 #

Total comments: 5

Patch Set 2 : Remove a bad DCHECK #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -8 lines) Patch
M net/proxy/proxy_resolver_v8_tracing.cc View 1 2 chunks +17 lines, -5 lines 0 comments Download
M net/proxy/proxy_resolver_v8_tracing_unittest.cc View 4 chunks +17 lines, -3 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
eroman
7 years, 10 months ago (2013-01-31 20:20:10 UTC) #1
eroman
Please also check the "Commit" box if you approve this. Thanks!
7 years, 10 months ago (2013-01-31 20:32:07 UTC) #2
mmenke
https://codereview.chromium.org/12088090/diff/1/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/12088090/diff/1/net/proxy/proxy_resolver_v8_tracing.cc#newcode683 net/proxy/proxy_resolver_v8_tracing.cc:683: pending_dns_ = dns_request; This isn't correct. If we're doing ...
7 years, 10 months ago (2013-01-31 21:11:22 UTC) #3
eroman
https://codereview.chromium.org/12088090/diff/1/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/12088090/diff/1/net/proxy/proxy_resolver_v8_tracing.cc#newcode683 net/proxy/proxy_resolver_v8_tracing.cc:683: pending_dns_ = dns_request; On 2013/01/31 21:11:23, Matt Menke wrote: ...
7 years, 10 months ago (2013-01-31 21:29:49 UTC) #4
mmenke
On 2013/01/31 21:29:49, eroman wrote: > https://codereview.chromium.org/12088090/diff/1/net/proxy/proxy_resolver_v8_tracing.cc > File net/proxy/proxy_resolver_v8_tracing.cc (right): > > https://codereview.chromium.org/12088090/diff/1/net/proxy/proxy_resolver_v8_tracing.cc#newcode683 > ...
7 years, 10 months ago (2013-01-31 21:33:53 UTC) #5
mmenke
Oops...forgot to publish a comment. https://codereview.chromium.org/12088090/diff/1/net/proxy/proxy_resolver_v8_tracing.cc File net/proxy/proxy_resolver_v8_tracing.cc (right): https://codereview.chromium.org/12088090/diff/1/net/proxy/proxy_resolver_v8_tracing.cc#newcode683 net/proxy/proxy_resolver_v8_tracing.cc:683: pending_dns_ = dns_request; On ...
7 years, 10 months ago (2013-01-31 21:34:31 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eroman@chromium.org/12088090/8001
7 years, 10 months ago (2013-01-31 21:39:29 UTC) #7
commit-bot: I haz the power
7 years, 10 months ago (2013-02-01 00:42:57 UTC) #8
Message was sent while issue was closed.
Change committed as 180021

Powered by Google App Engine
This is Rietveld 408576698