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

Issue 2850023: Fix a crash when the content type of a multipart request (Closed)

Created:
10 years, 6 months ago by tony
Modified:
9 years, 7 months ago
CC:
chromium-reviews, darin-cc_chromium.org
Base URL:
http://src.chromium.org/git/chromium.git
Visibility:
Public.

Description

Fix a crash when the content type of a multipart request changes to a content type that we ignore the load of. For example, if the content type of a multipart request changes from text/html to foo/bar, we would crash because we would delete the multipart delegate while it was still on the stack. BUG=47105 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=50676

Patch Set 1 #

Total comments: 1

Patch Set 2 : cancel -> Cancel #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -5 lines) Patch
M webkit/glue/multipart_response_delegate.h View 1 1 chunk +6 lines, -0 lines 0 comments Download
M webkit/glue/multipart_response_delegate.cc View 4 chunks +6 lines, -4 lines 0 comments Download
M webkit/glue/weburlloader_impl.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
tony
Below is an example stack. What happens is in frame 18, the multipart delegate parses ...
10 years, 6 months ago (2010-06-23 07:26:04 UTC) #1
tony
The layout test is https://bugs.webkit.org/show_bug.cgi?id=41050
10 years, 6 months ago (2010-06-23 08:20:43 UTC) #2
darin (slow to review)
10 years, 6 months ago (2010-06-23 15:16:52 UTC) #3
LGTM

http://codereview.chromium.org/2850023/diff/1/3
File webkit/glue/multipart_response_delegate.h (right):

http://codereview.chromium.org/2850023/diff/1/3#newcode79
webkit/glue/multipart_response_delegate.h:79: void cancel() {
nit: cancel -> Cancel

Powered by Google App Engine
This is Rietveld 408576698