[Webkit-unassigned] [Bug 36391] New: Potential for infinite recursion in SharedBuffer

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 19 14:25:18 PDT 2010


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

           Summary: Potential for infinite recursion in SharedBuffer
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: aestes at apple.com
                CC: yong.li.webkit at gmail.com


The following routine would result in infinite recursion:

SharedBuffer* sharedBufferWithCFDataAndData(CFDataRef cfData, const char* data,
unsigned dataLength)
{
    SharedBuffer* buffer = new SharedBuffer(cfData);
    buffer->append(data, dataLength);
    return buffer;
}

SharedBuffer does not appear to currently be used in this manner, but it would
be valid to do so.

-- 
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