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

Issue 21222: Fix a browser crash when the async resource handler keeps an... (Closed)

Created:
11 years, 10 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
Reviewers:
wtc
CC:
chromium-reviews_googlegroups.com
Visibility:
Public.

Description

Fix a browser crash when the async resource handler keeps an IOBuffer after a failed attempt to send the data to a (now gone) renderer. The shared memory section is unmapped so the buffer must not be kept around and possibly re-used. I'm also fixing a leak reported by purify. BUG=7487 BUG=7374 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=9540

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 2

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M base/shared_memory.h View 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/async_resource_handler.cc View 1 2 2 chunks +6 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
rvargas (doing something else)
11 years, 10 months ago (2009-02-10 20:19:41 UTC) #1
rvargas (doing something else)
Now that we are at it, I'm also fixing a leak.
11 years, 10 months ago (2009-02-10 22:06:10 UTC) #2
wtc
LGTM. Please review my suggested changes below. http://codereview.chromium.org/21222/diff/5/6 File chrome/browser/renderer_host/async_resource_handler.cc (right): http://codereview.chromium.org/21222/diff/5/6#newcode106 Line 106: read_buffer_ ...
11 years, 10 months ago (2009-02-10 22:37:51 UTC) #3
rvargas (doing something else)
On 2009/02/10 22:37:51, wtc wrote: > LGTM. Please review my suggested changes below. > > ...
11 years, 10 months ago (2009-02-10 23:06:36 UTC) #4
wtc
11 years, 10 months ago (2009-02-10 23:14:46 UTC) #5
LGTM.

Powered by Google App Engine
This is Rietveld 408576698