[Webkit-unassigned] [Bug 209718] New: Validate `dayInYear` parameter in monthFromDayInYear() using debug assertions
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Mar 29 09:04:27 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=209718
Bug ID: 209718
Summary: Validate `dayInYear` parameter in monthFromDayInYear()
using debug assertions
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Web Template Framework
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ddkilzer at webkit.org
CC: darin at apple.com
Add debug assertions to monthFromDayInYear() in DateMath.h to validate the `dayInYear` parameter.
This has the added benefit of silencing many "Dead nested assignment" issues when running the clang static analyzer.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200329/86b87bae/attachment-0001.htm>
More information about the webkit-unassigned
mailing list