[Webkit-unassigned] [Bug 36196] REGRESSION(r52795): Cannot open complex webarchive files in Safari due to WebKit regression.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Mar 19 14:05:41 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=36196
--- Comment #13 from Andy Estes <aestes at apple.com> 2010-03-19 14:05:41 PST ---
Yong, in the course of investigating this, I think I found another issue with
http://trac.webkit.org/changeset/52795. If I wrote the following routine, I
believe it 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;
}
This is due to the interaction between SharedBuffer::append() and
SharedBuffer::maybeTransferPlatformData(). A simple fix might be to add a flag
that is set to true when maybeTransferPlatformData() is executing to break the
recursion.
This probably belongs in a separate bug report, which I'll create.
--
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