Bug 302885

Summary: Avoid moving the same value twice in WebTransport configureTLS
Product: WebKit Reporter: Anthony Tarbinian <a.tarbinian>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Anthony Tarbinian
Reported 2025-11-20 12:05:54 PST
In WebTransportSession::createParameters, it's possible for the configureTLS lambda to be called twicmultiple times. In this scenario, WTFMove would try to move the same value multiple times, which is an invalid operation.
Attachments
Anthony Tarbinian
Comment 1 2025-11-20 12:05:55 PST
Anthony Tarbinian
Comment 2 2025-11-20 12:08:23 PST
EWS
Comment 3 2025-11-20 13:51:52 PST
Committed 303346@main (27b1c63e5a2f): <https://commits.webkit.org/303346@main> Reviewed commits have been landed. Closing PR #54264 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.