Hi,

I accidentally tried to recursively get files from the local file systems
rather then the web. This resulted in a segmentation fault. Not the
"Unsupported scheme" error message I get with -r.

  $ echo : > /tmp/test.html
  $ wget -r /tmp/test.html
  Segmentation fault (core dumped)

wget version is 1.8.1. Running Debian 3.0 on a x86 machine.

Valgrind log (without debug info, sorry) shows a NULL pointer
dereferenciation:

==6822== Invalid read of size 4
==6822==    at 0x805CB3C: (within /usr/bin/wget)
==6822==    by 0x805A568: (within /usr/bin/wget)
==6822==    by 0x4025B14E: __libc_start_main (in /lib/libc-2.2.5.so)
==6822==    by 0x8049AC0: (within /usr/bin/wget)
==6822==    Address 0x0 is not stack'd, malloc'd or free'd
Segmentation fault (core dumped)

Harri.

Reply via email to