[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-wget] Re: wget 1.12 memory exhausted
From: |
Giuseppe Scrivano |
Subject: |
Re: [Bug-wget] Re: wget 1.12 memory exhausted |
Date: |
Fri, 06 Aug 2010 17:10:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Keisial <address@hidden> writes:
> That scss file contains several entries like:
> background-image:url( );
> background-image:url();
I have applied the following patch. It should fix the issue reported.
Cheers,
Giuseppe
=== modified file 'src/css-url.c'
--- src/css-url.c 2010-07-29 23:00:26 +0000
+++ src/css-url.c 2010-08-06 13:51:52 +0000
@@ -124,9 +124,11 @@
/* skip leading space */
while (isspace (at[*pos]))
{
- (*pos)++;
- (*length)--;
+ (*pos)++;
+ if (--(*length) == 0)
+ return NULL;
}
+
/* skip trailing space */
while (isspace (at[*pos + *length - 1]))
{