mirror of
https://github.com/moparisthebest/wget
synced 2024-07-03 16:38:41 -04:00
[svn] Fix access violation bug in DO_REALLOC_FROM_ALLOCA.
Published in <sxspubriqay.fsf@florida.arsdigita.de>.
This commit is contained in:
parent
e98fca84a3
commit
d015d3cbd3
@ -1,3 +1,14 @@
|
||||
2001-06-18 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* recur.c (convert_all_links): Make sure "../" stuff is properly
|
||||
handled in cur_url->url before we hand it over to convert_links.
|
||||
(register_download): Canonicalize URL before storing it.
|
||||
|
||||
2001-06-26 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* wget.h (DO_REALLOC_FROM_ALLOCA): Set SIZEVAR after the memcpy()
|
||||
call because it needs the old value.
|
||||
|
||||
2001-06-18 Hrvoje Niksic <hniksic@arsdigita.com>
|
||||
|
||||
* cookies.c (ATTR_NAME_CHAR): Allow almost any character to be in
|
||||
|
@ -236,7 +236,6 @@ char *xstrdup_debug PARAMS ((const char *, const char *, int));
|
||||
do_realloc_newsize = 2*(sizevar); \
|
||||
if (do_realloc_newsize < 16) \
|
||||
do_realloc_newsize = 16; \
|
||||
(sizevar) = do_realloc_newsize; \
|
||||
} \
|
||||
if (do_realloc_newsize) \
|
||||
{ \
|
||||
@ -249,6 +248,7 @@ char *xstrdup_debug PARAMS ((const char *, const char *, int));
|
||||
(basevar) = drfa_new_basevar; \
|
||||
allocap = 0; \
|
||||
} \
|
||||
(sizevar) = do_realloc_newsize; \
|
||||
} \
|
||||
} while (0)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user