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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 19 14:47:15 PDT 2010


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





--- Comment #1 from Yong Li <yong.li.webkit at gmail.com>  2010-03-19 14:47:15 PST ---
(In reply to comment #0)
> 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.

Where's the code? Also, why could it be infinite recursion?

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