Bug 249466

Summary: [GStreamer] Avoid crashes on caps generated from user input
Product: WebKit Reporter: Xabier Rodríguez Calvar <calvaris>
Component: MediaAssignee: Xabier Rodríguez Calvar <calvaris>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Xabier Rodríguez Calvar 2022-12-16 03:44:49 PST
When checking if certain mime is supported, we create the caps from it and if caps creation fails because input is bogus, we can get a controlled crash later.
Comment 1 Xabier Rodríguez Calvar 2022-12-16 03:48:05 PST
Pull request: https://github.com/WebKit/WebKit/pull/7745
Comment 2 EWS 2022-12-16 05:57:16 PST
Committed 257983@main (d8823f0e52f5): <https://commits.webkit.org/257983@main>

Reviewed commits have been landed. Closing PR #7745 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-12-16 05:58:17 PST
<rdar://problem/103444716>