Actions
Bug #1161
closedcrashed when uploading 2G+ file from firefox 10.0
Start date:
02/08/2012
Due date:
% Done:
0%
Estimated time:
Updated by Pieter Libin almost 13 years ago
When uploading a big file (2,285,199,368 bytes) using WFileUpload widget, IE & Chrome seems working fine, however when using firefox 10.0, WT crashed due to firefox sending malformed header(Content-Length: --2009767703).
It appears that firefox mishandles signed/unsigned int32, wt should protect itself from crashing.
This problem happens on WT 3.2.0 (git commit 4e198c7dc5)
Updated by Pieter Libin almost 13 years ago
Reproducable with the widgetgallery example:
problem is at WebRequest.C::contentLength()
to create a 2G file:
dd if=/dev/zero of=output.dat bs=1G count=2
Updated by Pieter Libin almost 13 years ago
We should content lenght to be > 0, if not return 0 + log an error.
Updated by Pieter Libin almost 13 years ago
- Status changed from InProgress to Resolved
Actions