URL: <http://savannah.gnu.org/bugs/?49512>
Summary: segfault if .wget-hsts is not accessible Project: GNU Wget Submitted by: None Submitted on: Wed 02 Nov 2016 12:29:17 PM UTC Category: Crash/Freeze/Infloop Severity: 3 - Normal Priority: 5 - Normal Status: None Privacy: Public Assigned to: None Originator Name: Tom Mittelstädt Originator Email: tm-wget.b...@monster-box.de Open/Closed: Open Discussion Lock: Any Release: 1.18 Operating System: GNU/Linux Reproducibility: Every Time Fixed Release: None Planned Release: None Regression: None Work Required: None Patch Included: None _______________________________________________________ Details: 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 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?49512> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/