[Webkit-unassigned] [Bug 26600] New: StringImpl::copy() no longer copies empty string correctly

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jun 22 00:54:30 PDT 2009


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

           Summary: StringImpl::copy() no longer copies empty string
                    correctly
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Critical
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ap at webkit.org
                CC: darin at apple.com, mike at belshe.com


StringImpl::copy() should not ever return per-thread empty string, because this
function's result is for using on other threads.

This was broken in <http://trac.webkit.org/changeset/41917> -
StringImpl::create() has a special case for empty strings, so calling it is not
appropriate.


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



More information about the webkit-unassigned mailing list