[Webkit-unassigned] [Bug 145608] New: Fix strncpy use in WebCore::Text::formatForDebugger

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 3 09:58:54 PDT 2015


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

            Bug ID: 145608
           Summary: Fix strncpy use in WebCore::Text::formatForDebugger
    Classification: Unclassified
           Product: WebKit
           Version: 528+ (Nightly build)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Major
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at igalia.com

r185137 replaced a call to strncpy with a call to strlcpy, which broke the build on Linux since strlcpy does not exist there. r185148 reverted this to use strncpy again, but got the size argument off by one, introducing a buffer overrun.

-- 
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/20150603/6247223c/attachment.html>


More information about the webkit-unassigned mailing list