bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] [bug #51029] Reproducible Segmentation Fault in 1.16, 1.18, 1


From: Tim Ruehsen
Subject: [Bug-wget] [bug #51029] Reproducible Segmentation Fault in 1.16, 1.18, 1.19
Date: Tue, 16 May 2017 03:27:15 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #51029 (project wget):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #3:

Sorry, just sent to the mailing list:

It looks like some HTTP/HTTPS URL issue with robots.txt.

- first https://coovia.fr/robots.txt is being loaded (it is redirected to
https://coovia.fr/accueil/ which in fact is a HTML page).

- later, it looks like somehow http://coovia.fr/robots.txt is referenced
(maybe implicitly by a link to http://coovia.fr). This becomes redirected to
https://coovia.fr/robots.txt which is redirected to
https://coovia.fr/accueil/. 
And here it crashes in register_redirection(), I guess because 'file' var is
NULL.

==6923== Invalid read of size 1
==6923==    at 0x4C2EDA2: strlen (in /usr/lib/valgrind/vgpreload_memcheck-
amd64-linux.so)
==6923==    by 0x170276: xstrdup (xmalloc.c:121)
==6923==    by 0x117C7F: register_redirection (convert.c:955)
==6923==    by 0x14703B: retrieve_url (retr.c:981)
==6923==    by 0x145531: res_retrieve_file (res.c:566)
==6923==    by 0x1440CE: download_child (recur.c:740)
==6923==    by 0x14376D: retrieve_tree (recur.c:470)
==6923==    by 0x13F54C: main (main.c:2075)
==6923==  Address 0x0 is not stack'd, malloc'd or (recently) free'd


It is unlikely to be fixed in latest git. But a test case to reproduce this
shouldn't be too much work.


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?51029>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]