[Webkit-unassigned] [Bug 131250] New: Need to sanitize Date code to ensure we adhere to ES5 15.9.1.14
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Apr 4 17:59:22 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=131250
Summary: Need to sanitize Date code to ensure we adhere to ES5
15.9.1.14
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: mark.lam at apple.com
So far, we've added strategic checks on the time milliseconds value in the Date object. However, the spec is unclear about whether that limit applies to the UTC time, or Local time, or both. Currently, we conservatively clip the value for both.
We also don't have a guarantee that we've done adequate limit checks to ensure we don't have underflow / overflow issues in the Date math code. It would be great if there's something we can do to ensure that we don't silently underflow / overflow in the math thereby resulting in bogus Date strings.
--
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