Bug 136492 - [Win] Potential overrelease of AVCFURLAssetRef
Summary: [Win] Potential overrelease of AVCFURLAssetRef
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Major
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2014-09-03 12:08 PDT by Brent Fulgham
Modified: 2014-09-03 12:22 PDT (History)
8 users (show)

See Also:


Attachments
Patch (1.56 KB, patch)
2014-09-03 12:16 PDT, Brent Fulgham
eric.carlson: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2014-09-03 12:08:17 PDT
Very rarely, the AVCFURLAssetRef associated with a media element can change from its original state. When this happens, we adopt the new AVCFURLAssetRef without incrementing its retain count. Later, when the AVFWrapper is destroyed it calls Release on this item causing a double-release.
Comment 1 Brent Fulgham 2014-09-03 12:08:47 PDT
<rdar://problem/18206746>
Comment 2 Brent Fulgham 2014-09-03 12:16:46 PDT
Created attachment 237568 [details]
Patch
Comment 3 Brent Fulgham 2014-09-03 12:22:31 PDT
Committed r173216: <http://trac.webkit.org/changeset/173216>