Bug 118303 - [Curl] Crash after download.
Summary: [Curl] Crash after download.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-02 06:58 PDT by peavo
Modified: 2013-07-02 11:20 PDT (History)
3 users (show)

See Also:


Attachments
Patch (3.98 KB, patch)
2013-07-02 07:08 PDT, peavo
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description peavo 2013-07-02 06:58:59 PDT
I sometimes get a crash in Curl after a download has finished.
The reason is that the Curl easy handle for the download has been deleted before it has been removed from the Curl multi handle.
We need to make sure that the easy handle is removed from the Curl multi handle before it's freed.
Comment 1 peavo 2013-07-02 07:08:19 PDT
Created attachment 205909 [details]
Patch
Comment 2 Brent Fulgham 2013-07-02 09:22:47 PDT
Comment on attachment 205909 [details]
Patch

r=me.  A nice solution to this problem!
Comment 3 WebKit Commit Bot 2013-07-02 09:26:45 PDT
Comment on attachment 205909 [details]
Patch

Clearing flags on attachment: 205909

Committed r152297: <http://trac.webkit.org/changeset/152297>
Comment 4 WebKit Commit Bot 2013-07-02 09:26:47 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 peavo 2013-07-02 11:20:17 PDT
(In reply to comment #2)
> (From update of attachment 205909 [details])
> r=me.  A nice solution to this problem!

Thanks for the review ;)