[Webkit-unassigned] [Bug 104955] New: Clamp values in LayoutUnit::setRawValue when SATURATED_LAYOUT_ARITHMETIC is enabled
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 13 14:36:25 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=104955
Summary: Clamp values in LayoutUnit::setRawValue when
SATURATED_LAYOUT_ARITHMETIC is enabled
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Platform
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: eae at chromium.org
CC: eric at webkit.org, jchaffraix at webkit.org
LayoutUnit::setRawValue(long long) currently does not clamp values and instead overflows when given a value greater than INT_MAX or less than INT_MIN. As the division operator uses the setRawValue(long long) method it can the value to overflow, even if SATURATED_LAYOUT_ARITHMETIC is enabled.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list