bugGNU Wget - Bugs: bug #49512, segfault if .wget-hsts is not...

 
 

bug #49512: segfault if .wget-hsts is not accessible

Submitter:  None
Submitted:  Wed 02 Nov 2016 12:29:17 PM UTC
   
 
Category:  Crash/Freeze/Infloop Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  rockdaboot
Originator Name:  Tom Mittelstädt Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  1.18
Operating System:  GNU/Linux Reproducibility:  Every Time
Fixed Release:  trunk Planned Release:  1.18.1
Regression:  None Work Required:  None
Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 06 Nov 2016 07:35:36 PM UTC, comment #1: 

Thanks, reproducable with 1.18 on Debian unstable.
Already fixed in trunk.

Tim Ruehsen <rockdaboot>
Group administrator
Wed 02 Nov 2016 12:29:17 PM UTC, original submission:  

wget segfaults if it cannot access ~/.wget-hsts (eg due to insufficent access rights)

$ wget -d gnu.org
DEBUG output created by Wget 1.18 on linux-gnu.

Reading HSTS entries from /home/tom/.wget-hsts
Segmentation fault (core dumped)


$ gdb wget
GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-git
(gdb) run -d gnu.org
Starting program: /usr/bin/wget -d gnu.org
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
DEBUG output created by Wget 1.18 on linux-gnu.

Reading HSTS entries from /home/tom/.wget-hsts

Program received signal SIGSEGV, Segmentation fault.
_IO_new_fclose (fp=0x0) at iofclose.c:53

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

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)
  •  

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-06 rockdaboot StatusNone Fixed
        Assigned toNone rockdaboot
        Open/ClosedOpen Closed
        Fixed ReleaseNone trunk
        Planned ReleaseNone 1.18.1

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code