Actions
Bug #1979
closedmod_webdav doesn't support put of files over 2GB
ASK QUESTIONS IN Forums:
Description
Line 1840 of mod_webdav reads :
int r = 0;
but should use a more suitable type for files greater than 2GB, i.e.
off_t r = 0;
This results in file truncation for files over 2GB.
Updated by stbuehler over 15 years ago
- Status changed from New to Need Feedback
- Target version deleted (
1.4.24) - Estimated time deleted (
0.10 h) - Patch available changed from Yes to No
- "int r = 0" is in line 1711 - and there haven't been big changes since the latest versions... so perhaps your version is too old?
r
is only used as size for one chunk. And i doubt a single (incoming) chunk is too big for int.- On 32-bit platforms the limits comes from request.c (it checks for SSIZE_MAX); i don't think i will remove that...
Updated by gstrauss almost 9 years ago
- Status changed from Need Feedback to Missing Feedback
Updated by kenny almost 9 years ago
Fine for you to close this, as I'm no longer using it. Line no's had changed yes, we were using a modified version in an unusual config on 64 bit, so as you point out not relevant.
Updated by gstrauss almost 8 years ago
- Status changed from Missing Feedback to Fixed
- Target version set to 1.4.x
fixed in lighttpd 1.4.40
Actions
Also available in: Atom