bugGNU Wget - Bugs: bug #50431, wget crash when pulling files with...


bug #50431: wget crash when pulling files with Arabic characters in the filename

Submitter:  None
Submitted:  Wed 01 Mar 2017 11:30:56 PM UTC
Category:  Crash/Freeze/Infloop Severity:  3 - Normal
Priority:  5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Originator Name:  Michael Miller Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  1.17.1
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  None Planned Release:  None
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup

Thu 02 Mar 2017 08:12:18 AM UTC, comment #1: 

Can't reproduce with 1.19.1. Wget 1.17.1 is rather old... could you try that with a recent version ?

Tim Ruehsen <rockdaboot>
Group administrator
Wed 01 Mar 2017 11:30:56 PM UTC, original submission:  

wget crashes when attempting to download a .jpg file that has a mixture of Roman and Arabic characters, as well as some spaces in the file name.

To Reproduce:
1. Create a file called: Birds and تحميل هذا الحق الآن.jpg
2. Place it on a web server. In my case, the web server is Apache 2.2.3, and may itself not have proper Unicode support as the generated index.html for that folder does not render the characters properly in my Chrome browser.
3. Attempt to wget the file:

wget http://dumper.example.com/sampleassets/images/spaces_and_special_characters/Birds%20and%20%d8%aa%d8%ad%d9%85%d9%8a%d9%84%20%d9%87%d8%b0%d8%a7%20%d8%a7%d9%84%d8%ad%d9%82%20%d8%a7%d9%84%d8%a7%d9%93%d9%86.jpg

and kaboom.

I've attached a coredump file but redacted part of the URL for security reasons. I hope that isn't a problem.



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #39874:  _usr_bin_wget.1000.crash added by None (170KiB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by rockdaboot (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-03-01 None Attached File- Added _usr_bin_wget.1000.crash, #39874

    Back to the top

    Powered by Savane 3.13-b921.
    Corresponding source code