Skip to content

Commit

Permalink
Update.
Browse files Browse the repository at this point in the history
2004-11-22  Jakub Jelinek  <jakub@redhat.com>

	* nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor
	leaks.
	* sysdeps/posix/getaddrinfo.c (gaih_inet): Free air.

	* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
	* dirent/dirent.h: Add nonnull attributes.
  • Loading branch information
Ulrich Drepper committed Nov 22, 2004
1 parent 8dd7199 commit 6535f55
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 8 additions & 2 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
2004-11-22 Jakub Jelinek <jakub@redhat.com>

* nscd/nscd_getai (__nscd_getai): Avoid memory and file descriptor
leaks.
* sysdeps/posix/getaddrinfo.c (gaih_inet): Free air.

2004-11-15 Maciej W. Rozycki <macro@mips.com>

* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
* sysdeps/unix/sysv/linux/mips/bits/siginfo.h (__SI_MAX_SIZE):
Define appropriately based on __WORDSIZE.
[struct siginfo] (__pad0): Add for explicit padding.

Expand All @@ -9,7 +15,7 @@

2004-11-22 Ulrich Drepper <drepper@redhat.com>

* dirent/dirent.h: Add __nonnull attributes.
* dirent/dirent.h: Add nonnull attributes.
* dlfcn/dlfcn.h: Likewise.

2004-11-20 Jakub Jelinek <jakub@redhat.com>
Expand Down
2 changes: 2 additions & 0 deletions sysdeps/posix/getaddrinfo.c
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,8 @@ gaih_inet (const char *name, const struct gaih_service *service,
addrs += size;
}

free (air);

if (at->family == AF_UNSPEC)
return (GAIH_OKIFUNSPEC | -EAI_NONAME);

Expand Down

0 comments on commit 6535f55

Please sign in to comment.