Bug 249466 - [GStreamer] Avoid crashes on caps generated from user input
Summary: [GStreamer] Avoid crashes on caps generated from user input
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Xabier Rodríguez Calvar
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-16 03:44 PST by Xabier Rodríguez Calvar
Modified: 2022-12-16 05:58 PST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>