1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] merged YAMAZAKI Makoto's patch fixing termination by assertion bug in netrc parsing.

This commit is contained in:
mtortonesi 2004-11-15 13:13:50 -08:00
parent cdf4dced22
commit 1268028a0a
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2004-11-15 YAMAZAKI Makoto <Yamazaki.Makoto@fujixerox.co.jp>
* src/netrc.c: Fix termination by assertion bug in netrc parsing.
2004-05-09 David Fritz <zeroxdf@att.net>
* windows/Makefile.src.bor: Fix broken build rule. Add clean target.

View File

@ -215,9 +215,9 @@ maybe_add_to_list (acc_t **newentry, acc_t **list)
if (a && ! a->acc)
{
/* Free any allocated space. */
xfree (a->host);
xfree (a->acc);
xfree (a->passwd);
xfree_null (a->host);
xfree_null (a->acc);
xfree_null (a->passwd);
}
else
{