error when downloading files >2GB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cntlm (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[SRU] The debdiff attached to LP: #1009436 backports cntlm-0.
[IMPACT]
When behind a corporate proxy requiring NTLM authentication, users are unable to download files larger than 2GB in size.
[Test Case]
Cntlm should be correctly configured and network proxy applied system wide as 127.0.0.1 port 3128 for HTTP, HTTPS and FTP, but not Socks.
Run 'wget http://
0.91 behaviour: the message 'Connection closed at byte 0. Retrying' appears repeatedly.
0.92 behaviour: the download proceeds normally.
[Regression Potential]
Minimal: cntlm has no dependants and no dependencies besides libc6.
Please see LP: #1009436 for additional information.
-------
Attempting to download a file larger than 2GB using cntlm on Precise fails.
Example:
$ wget http://
--2012-07-31 16:28:13-- http://
Connecting to 127.0.0.1:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 3028086784 (2,8G) [application/
Saving to: `quantal-
0% [ ] 0 --.-K/s in 0s
2012-07-31 16:28:16 (0,00 B/s) - Connection closed at byte 0. Retrying.
--2012-07-31 16:28:17-- (try: 2) http://
Connecting to 127.0.0.1:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 3028086784 (2,8G) [application/
Saving to: `quantal-
0% [ ] 0 --.-K/s in 0s
2012-07-31 16:28:18 (0,00 B/s) - Connection closed at byte 0. Retrying.
Running cntlm with debugging information (cntlm -v), shows that the data length is interpreted as a negative number:
Content-Length => 3028086784
Date => Tue, 31 Jul 2012 15:27:41 GMT
Content-Type => application/
ETag => "2760bfb-
Server => Apache/2.2.14 (Ubuntu)
Accept-Ranges => bytes
Last-Modified => Tue, 31 Jul 2012 01:37:25 GMT
Sending headers (5)...
Body included. Lenght: -1266880512
data_send: read -1 of -1266880512 / 0 of -1266880512 (errno = Bad address)
data_send: fds 5:6 warning -1 (connection closed)
Could not send whole body
Related branches
Changed in cntlm (Ubuntu): | |
status: | New → Fix Released |
Changed in cntlm (Ubuntu Precise): | |
importance: | Undecided → Low |
importance: | Low → Medium |
description: | updated |
description: | updated |
debdiff for Precise attached to LP: #1009436