Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 74eb1295e28bf5059f18f707d73d0d45b8055ebf
https://github.com/WebKit/WebKit/commit/74eb1295e28bf5059f18f707d73d0d45b8055ebf
Author: Charlie Wolfe <[email protected]>
Date: 2026-06-10 (Wed, 10 Jun 2026)
Changed paths:
M Source/WebCore/platform/graphics/AV1Utilities.cpp
Log Message:
-----------
Undefined left-shift in AV1 readULEBSize()
https://bugs.webkit.org/show_bug.cgi?id=316766
rdar://179211459
Reviewed by Pascoe.
decodedByte is a uint8_t that integer-promotes to a 32-bit int, so decodedByte
<< (7 * cptr) is
undefined behavior for any shift count >= 32. Shift a size_t instead.
* Source/WebCore/platform/graphics/AV1Utilities.cpp:
(WebCore::readULEBSize):
Canonical link: https://commits.webkit.org/314944@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications