Actions
Bug #1161
closed
KD
PL
crashed when uploading 2G+ file from firefox 10.0
Bug #1161:
crashed when uploading 2G+ file from firefox 10.0
Start date:
02/08/2012
Due date:
% Done:
0%
Estimated time:
PL Updated by Pieter Libin over 14 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)
PL Updated by Pieter Libin over 14 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
PL Updated by Pieter Libin over 14 years ago
We should content lenght to be > 0, if not return 0 + log an error.
PL Updated by Pieter Libin over 14 years ago
- Status changed from InProgress to Resolved
KD Updated by Koen Deforche over 14 years ago
- Status changed from Resolved to Closed
Fixed in 3.2.1
Actions