Bug 246746

Summary: [WTF] MediaTime: compute flags on multiplication with doubles
Product: WebKit Reporter: Alicia Boya García <aboya>
Component: Web Template FrameworkAssignee: Alicia Boya García <aboya>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Alicia Boya García 2022-10-19 08:50:50 PDT
[WTF] MediaTime: compute flags on multiplication with doubles
value without updating the flags. This becomes a problem if the
multiplication promotes the number to infinity.
Comment 1 Alicia Boya García 2022-10-19 09:22:10 PDT
Pull request: https://github.com/WebKit/WebKit/pull/5538
Comment 2 Alicia Boya García 2022-10-19 09:28:01 PDT
Fixed description:

The current multiplication algorithm in WTF::MediaTime updates the time
value without updating the flags. This becomes a problem if the
multiplication promotes the number to infinity.
Comment 3 EWS 2022-10-19 16:27:11 PDT
Committed 255767@main (c020c7e213d8): <https://commits.webkit.org/255767@main>

Reviewed commits have been landed. Closing PR #5538 and removing active labels.
Comment 4 Radar WebKit Bug Importer 2022-10-19 16:28:20 PDT
<rdar://problem/101358049>