Discussion:
[Bug-wget] Fwd: WGET bug
Zoltán Ördögh (GMail)
2018-08-11 12:54:46 UTC
Permalink
Hello,
when I try to download this, WGET crashes near the end of the download.
Could you have a look?
Thanks!

wget https://clancoyote.com/main/download/get/36/high-
definition-patch-for-mtx-by-mechstorm-v2-0

In addition, it does not continue the partial download - it keeps retrying
though.
It should stop when it's not supported by the server.

This is 1.19.4 x64 from:
https://eternallybored.org/misc/wget/

Thanks!

This is what Windows 7x64 says:
Problem signature:
Problem Event Name: APPCRASH
Application Name: wget.exe
Application Version: 0.0.0.0
Application Timestamp: 00000000
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7601.24168
Fault Module Timestamp: 5b1aad38
Exception Code: c0000005
Exception Offset: 000000000002a1c5
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 1033
Additional Information 1: ba8a
Additional Information 2: ba8adf81fbf318e165d96e8dcfb2826c
Additional Information 3: 7ed4
Additional Information 4: 7ed4ae7aa838ce2787354b4098724a5f

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy
statement offline:
C:\Windows\system32\en-US\erofflps.txt

Best regards: Zoltán Ördögh
Вячеслав Петрищев
2018-08-13 17:14:41 UTC
Permalink
In Windows, the error still exists when the file name is large enough to
scroll.
In progress.c -> create_image (...)
memcpy (p, bp-> f_download + offset_bytes, bytes_in_filename);
overwrites some memory, beyond the lower bound of p. (a good old bug is
buffer overflow). (
http://lists.gnu.org/archive/html/bug-wget/2018-06/msg00028.html) Depending
on the memory allocation, wget crashes sometimes.

Loading...