[Webkit-unassigned] [Bug 72413] New: [Safari] XHR progress events overflow on uploads larger than 2^31
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 15 13:56:49 PST 2011
https://bugs.webkit.org/show_bug.cgi?id=72413
Summary: [Safari] XHR progress events overflow on uploads
larger than 2^31
Product: WebKit
Version: 528+ (Nightly build)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: XML
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: scherkus at chromium.org
CC: darin at apple.com
Apparently happens a lot on video sharing sites during uploading.
Doing some rudimentary digging around I think it comes from ResourceHandleMac.mm's use of NSInteger:
862 - (void)connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite
863 {
864 UNUSED_PARAM(connection);
865 UNUSED_PARAM(bytesWritten);
866
867 LOG(Network, "Handle %p delegate connection:%p didSendBodyData:%d totalBytesWritten:%d totalBytesExpectedToWrite:%d", m_handle, connection, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite);
868
869 if (!m_handle || !m_handle->client())
870 return;
871 m_handle->client()->didSendData(m_handle, totalBytesWritten, totalBytesExpectedToWrite);
872 }
--
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