[Webkit-unassigned] [Bug 159710] New: Test WTF.StringViewIterators is crashing since r203119

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 13 03:53:35 PDT 2016


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

            Bug ID: 159710
           Summary: Test WTF.StringViewIterators is crashing since r203119
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Local Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: darin at apple.com, lforschler at apple.com,
                    mmaxfield at apple.com

I think there are two problems in the test case added in r203119. First is that it's testing StringView::CodeUnits::Iterator instead of StringView::CodePoints::Iterator, and second is that StringView::codePoints() returns a temporary, so the iterator created from the temporary ends up pointing to a const reference to the string view member of the deleted CodePoints object.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160713/f93578a0/attachment.html>


More information about the webkit-unassigned mailing list