[PATCH] wget: removed pointless free, fixes bug accessing freed memory
Cristian Ionescu-Idbohrn
cristian.ionescu-idbohrn at axis.com
Sun Mar 20 18:01:37 UTC 2011
On Sun, 20 Mar 2011, Denys Vlasenko wrote:
> On Tuesday 15 March 2011 03:07, gotrunks at gmail.com wrote:
> > Hi,
> >
> > I have just noticed a recent wget bug. Busybox wget doesn't parse the
> > URL correctly in some circumstances; long guessed output filenames &&
> > HTTP redirection.
> >
> > e.g.
> > $./busybox wget http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-i386/iso-cd/debian-6.0.0-kfreebsd-i386-CD-1.iso
> > Connecting to cdimage.debian.org (130.239.18.173:80)
> > Connecting to hammurabi.acc.umu.se (130.239.18.165:80)
> > wget: can't open '': No such file or directory
>
> Can't reproduce.
Neither can I. wget returns 404 on that URL. This one, OTOH:
http://cdimage.debian.org/debian-cd/6.0.1/kfreebsd-i386/iso-cd/debian-6.0.1-kfreebsd-i386-CD-1.iso
works as expected with:
BusyBox v1.19.0.git.
Cheers,
--
Cristian
More information about the busybox
mailing list