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