[Webkit-unassigned] [Bug 150931] New: TestWebKitAPI crashed in TestWebKitAPI: TestWebKitAPI::SharedBufferTest_copyBufferCreatedWithContentsOfExistingFile_Test::TestBody

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 5 06:54:05 PST 2015


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

            Bug ID: 150931
           Summary: TestWebKitAPI crashed in TestWebKitAPI:
                    TestWebKitAPI::SharedBufferTest_copyBufferCreatedWithC
                    ontentsOfExistingFile_Test::TestBody
    Classification: Unclassified
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ddkilzer at webkit.org
                CC: ap at webkit.org, lforschler at apple.com

TestWebKitAPI crashed in TestWebKitAPI: TestWebKitAPI::SharedBufferTest_copyBufferCreatedWithContentsOfExistingFile_Test::TestBody with ASan enabled.

The bug is that strnstr() assumes the second argument is null-terminated, and the implementation of strnstr() on OS X calls strlen() on the second argument.  This causes an out-of-bounds read if the memory after the second argument doesn't happen to contain a NULL character.

-- 
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/20151105/d59a73d4/attachment.html>


More information about the webkit-unassigned mailing list