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

Issue 23775010: net: Bind WeakPtr to HttpNetworkTransaction::io_callback_ (Closed)

Created:
7 years, 3 months ago by hashimoto
Modified:
7 years, 2 months ago
Reviewers:
eroman, mmenke
CC:
chromium-reviews, cbentzel+watch_chromium.org
Visibility:
Public.

Description

net: Bind WeakPtr to HttpNetworkTransaction::io_callback_ To avoid use-after-free BUG=244725 TEST=net_unittests

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M net/http/http_network_transaction.h View 2 chunks +3 lines, -0 lines 0 comments Download
M net/http/http_network_transaction.cc View 2 chunks +5 lines, -3 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
hashimoto
Please review.
7 years, 3 months ago (2013-09-17 04:30:00 UTC) #1
hashimoto
Eric, could you take a look at this 8 line change?
7 years, 3 months ago (2013-09-19 05:32:16 UTC) #2
eroman
Can you explain the situation trying to be fixed? Using a weakptr here may be ...
7 years, 3 months ago (2013-09-19 20:29:43 UTC) #3
hashimoto
On 2013/09/19 20:29:43, eroman wrote: > Can you explain the situation trying to be fixed? ...
7 years, 3 months ago (2013-09-20 02:51:56 UTC) #4
hashimoto
eroman@, PTAL?
7 years, 3 months ago (2013-09-24 00:34:08 UTC) #5
eroman
LGTM to fix the crash. (Although I still think we should be cancelling these operations). ...
7 years, 2 months ago (2013-09-25 18:46:00 UTC) #6
hashimoto
Adding mmenke@ as a reviewer just in case.
7 years, 2 months ago (2013-09-26 05:28:44 UTC) #7
mmenke
I'm having trouble seeing how this could happen. URLRequest is not being destroyed, since otherwise ...
7 years, 2 months ago (2013-09-26 12:32:03 UTC) #8
hashimoto
On 2013/09/26 12:32:03, mmenke wrote: > I'm having trouble seeing how this could happen. > ...
7 years, 2 months ago (2013-09-26 14:54:49 UTC) #9
mmenke
On 2013/09/26 14:54:49, hashimoto wrote: > On 2013/09/26 12:32:03, mmenke wrote: > > I'm having ...
7 years, 2 months ago (2013-09-26 15:00:03 UTC) #10
hashimoto
7 years, 2 months ago (2013-10-02 03:46:08 UTC) #11
Closing this issue.
Will submit https://codereview.chromium.org/25217002/ instead.

Powered by Google App Engine
This is Rietveld 408576698