[Webkit-unassigned] [Bug 232024] New: Add missing overflow checks to DFGIntegerRangeOptimizationPhase::isEquivalentTo()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 20 11:11:03 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=232024
Bug ID: 232024
Summary: Add missing overflow checks to
DFGIntegerRangeOptimizationPhase::isEquivalentTo()
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: msaboff at apple.com
In isEquivalentTo() we should check for overflow when adding offsets.
bool isEquivalentTo(const Relationship& other) const
{
...
if (m_right->isInt32Constant() && other.m_right->isInt32Constant()) {
return (thisRight + m_offset) == (otherRight + other.m_offset);
}
...
}
--
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/20211020/35f073f2/attachment-0001.htm>
More information about the webkit-unassigned
mailing list