summary refs log tree commit diff
path: root/sunrpc/rpc
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-02 01:43:32 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-02 01:43:32 +0000
commit06c2c536fce6de5da0b241fafb8cdef14fc2766a (patch)
treef354a14b2e65f31eab9a5bd671089554595140ae /sunrpc/rpc
parent12892ded5d913b3c45ea8f22634afd3b273b473d (diff)
downloadglibc-06c2c536fce6de5da0b241fafb8cdef14fc2766a.tar.gz
glibc-06c2c536fce6de5da0b241fafb8cdef14fc2766a.tar.xz
glibc-06c2c536fce6de5da0b241fafb8cdef14fc2766a.zip
Update.
2002-08-02  Jakub Jelinek  <jakub@redhat.com>

	* malloc/malloc.c (public_cALLOc): Check for overflow on
	multiplication.
	* sunrpc/xdr_array.c (xdr_array): Likewise.
	* sunrpc/rpc/types.h (mem_free): Add comment.
	Patch by Solar Designer <solar@openwall.com>.

2002-08-02  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/unix/sysv/linux/kernel-features.h
	(__ASSUME_SET_THREAD_AREA_SYSCALL): Define.

	* libio/stdio.h (sys_errlist, sys_nerr, _sys_errlist, _sys_nerr):
	* libio/Makefile (headers): Add bits/sys_errlist.h to the list.
	* sysdeps/generic/bits/sys_errlist.h: New file.  This does *not*
	declare sys_errlist and sys_nerr.
	* sysdeps/unix/sysv/linux/bits/sys_errlist.h: New file.  Does
Diffstat (limited to 'sunrpc/rpc')
-rw-r--r--sunrpc/rpc/types.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sunrpc/rpc/types.h b/sunrpc/rpc/types.h
index 8eff8e718e..871f3fd6b0 100644
--- a/sunrpc/rpc/types.h
+++ b/sunrpc/rpc/types.h
@@ -58,6 +58,10 @@ typedef unsigned long rpcport_t;
 
 #include <stdlib.h>		/* For malloc decl.  */
 #define mem_alloc(bsize)	malloc(bsize)
+/*
+ * XXX: This must not use the second argument, or code in xdr_array.c needs
+ * to be modified.
+ */
 #define mem_free(ptr, bsize)	free(ptr)
 
 #ifndef makedev /* ie, we haven't already included it */