[Webkit-unassigned] [Bug 56890] New: It is possible to calculate a NaN value for "value" in ScrollbarThemeMac::paint()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Mar 22 19:16:38 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=56890
Summary: It is possible to calculate a NaN value for "value" in
ScrollbarThemeMac::paint()
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: NEW
Keywords: InRadar
Severity: Normal
Priority: P2
Component: Layout and Rendering
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: bdakin at apple.com
In ScrollbarThemeMac::paint() the following code can result in value being NaN, which is not great:
else {
// Within the bounds of the scrollable area.
value = scrollbar->currentPos() / scrollbar->maximum();
}
Patch forthcoming.
<rdar://problem/9160621>
--
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