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

 
 

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

Submitted by:  None
Submitted on:  Wed 02 Nov 2016 12:29:17 PM UTC  
 
Category: Crash/Freeze/InfloopSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: Tim Ruehsen <rockdaboot>
Originator Name: Tom MittelstädtOriginator Email: -unavailable-
Open/Closed: ClosedRelease: 1.18
Operating System: GNU/LinuxReproducibility: Every Time
Fixed Release: trunkPlanned Release: 1.18.1
Regression: NoneWork Required: None
Patch Included: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 06 Nov 2016 07:35:36 PM UTCrockdabootStatusNone=>Fixed
      Assigned toNone=>rockdaboot
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>trunk
      Planned ReleaseNone=>1.18.1

    Back to the top


    Powered by Savane 3.1-cleanup1