bug-wget
[Top][All Lists]
Advanced

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

[Bug-wget] Re: wget 1.12 memory exhausted


From: Inaki San Vicente
Subject: [Bug-wget] Re: wget 1.12 memory exhausted
Date: Fri, 6 Aug 2010 08:10:22 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

Platonides <platonides <at> gmail.com> writes:

> 
> Keisial wrote:
> > It may be resolving them to itself, thus entering into some kind of loop?
> > 
> > I have tested, and with background-image:url(); it works ok:
> > "Already on the black list. Decided NOT to load it."
> > 
> > background-image:url(  ); [Two spaces] it results in the reported condition:
> > wget: memory exhausted
> > 
> > Finally, background-image:url( ); [One space] it segfaults.
> 
> The problem is at css-url.c:145
>   uri = xmalloc (*length + 1);
>   if (uri)
>     {
>       strncpy (uri, at + *pos, *length);
>       uri[*length] = '\0';
>     }
> 
> It segfaults at the strncpy with *length = -1
 
 

      Looking at your explanations, I've applied a naive workaround. I've
included the css files (which I don't need anyway) in the list of file types to
be rejected. Now wget finishes its execution correctly. That solves my needs for
the moment, even if the problem is still there. 

       Thanks all of you for your help!
        






reply via email to

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