[Webkit-unassigned] [Bug 187669] New: WTF's internal std::optional implementation should release assert on all bad accesses

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 13 16:04:23 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=187669

            Bug ID: 187669
           Summary: WTF's internal std::optional implementation should
                    release assert on all bad accesses
           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: fred.wang at free.fr

Bug 186536 changed some WTF std::optional methods to release assert when accessing invalidĀ (garbage) values, but those methods that use the TR2_OPTIONAL_ASSERTED_EXPRESSION macro still only assert on Debug builds.

To match std::optional from the C++ standard library, we should release assert any time invalid (garbage) values are accessed.

-- 
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/20180713/c0924639/attachment.html>


More information about the webkit-unassigned mailing list