[Webkit-unassigned] [Bug 53449] New: CSSPrimitiveValue::getIntValue() should probably clamp to avoid overflow
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jan 31 13:02:01 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=53449
Summary: CSSPrimitiveValue::getIntValue() should probably clamp
to avoid overflow
Product: WebKit
Version: 528+ (Nightly build)
Platform: All
OS/Version: Mac OS X 10.5
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: simon.fraser at apple.com
getIntValue() looks like this:
int getIntValue(unsigned short unitType, ExceptionCode& ec) const { return static_cast<int>(getDoubleValue(unitType, ec)); }
That may result in overflow. It should probably clamp.
--
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