[Webkit-unassigned] [Bug 54737] New: Memory allocation error in convertV8ObjectToNPVariant() for strings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 18 03:08:48 PST 2011


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

           Summary: Memory allocation error in
                    convertV8ObjectToNPVariant() for strings
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: steveblock at google.com
                CC: japhet at chromium.org


http://trac.webkit.org/changeset/76264 modified convertV8ObjectToNPVariant() to use malloc() and memcpy() rather than strdup(). This introduced a crashing bug as the null terminator is not included in the length used to allocate memory and copy the string.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list