lftp-devel  

Re: [patch] Segmentation fault when using lftp on web pages

Martin Nagy
Thu, 24 Jan 2008 12:44:24 -0800

Martin Nagy wrote:
Hi. lftp 3.6.1 will core dump when used on a page that uses empty arguments for tags, eg. '<meta content="">'. To reproduce, put attached index.html on a web server, then:
$ lftp http://localhost/
cd ok, cwd=/
lftp localhost:/> ls
Segmentation fault
Exit 139

The attached patch fixes the problem, but maybe you'll be able to come up with a better one.

Regards,
Martin Nagy

Oops, just noticed you already fixed this in CVS, sorry for the buzz.