summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-06-30 16:58:13 +0000
committerUlrich Drepper <drepper@redhat.com>1999-06-30 16:58:13 +0000
commit16848c985d9e4d6f8ca7a9c2c4ac711ef63835ec (patch)
tree9deb0934297466a1d64b24635c8b6b423c2aff32
parent1cda411d51fa3904b8c096677bd2afd08d784786 (diff)
downloadglibc-16848c985d9e4d6f8ca7a9c2c4ac711ef63835ec.tar.gz
glibc-16848c985d9e4d6f8ca7a9c2c4ac711ef63835ec.tar.xz
glibc-16848c985d9e4d6f8ca7a9c2c4ac711ef63835ec.zip
Update.
	* pwd/getpw.c: Add warning since no buffer size is given and
	therefore no overrun tests are possible.

1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>

	* pwd/pwd.h: Add getpw prototype declaration.

1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
-rw-r--r--ChangeLog9
-rw-r--r--pwd/getpw.c2
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 38e6508ab4..468a2ad81e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,14 @@
 1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
 
+	* pwd/getpw.c: Add warning since no buffer size is given and
+	therefore no overrun tests are possible.
+
+1999-06-30  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
+
+	* pwd/pwd.h: Add getpw prototype declaration.
+
+1999-06-30  Ulrich Drepper  <drepper@cygnus.com>
+
 	* wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter.
 	* wcsmbs/wcschr.c: Likewise.
 
diff --git a/pwd/getpw.c b/pwd/getpw.c
index 8bfb02eb8b..e291769237 100644
--- a/pwd/getpw.c
+++ b/pwd/getpw.c
@@ -58,3 +58,5 @@ __getpw (uid, buf)
   return 0;
 }
 weak_alias (__getpw, getpw)
+
+link_warning (getpw, "the `getpw' function is dangerous and should not be used.")