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

Issue 1838: Fix proxy code. The pac string was corrupted when a pac... (Closed)

Created:
12 years, 3 months ago by Nicolas Sylvain
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix proxy code. The pac string was corrupted when a pac file was specified. This is because AsciiToWide returns a temporary object, and we use .c_str, but as soon as the line is executed, the object is destroyed and what was pointed by c_str is also deleted. Use a local variable instead. Thanks for griffinz@gmail.com for pointing the issue. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=1890

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -1 line) Patch
M net/proxy/proxy_resolver_winhttp.cc View 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
Nicolas Sylvain
TBR: darin
12 years, 3 months ago (2008-09-09 04:40:13 UTC) #1
darin (slow to review)
12 years, 3 months ago (2008-09-09 04:42:00 UTC) #2
LGTM!

Powered by Google App Engine
This is Rietveld 408576698