From: Ulrich Drepper Date: Wed, 30 Jun 1999 16:58:13 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/pre-glibc-2_1_3~689 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=16848c985d9e4d6f8ca7a9c2c4ac711ef63835ec;p=thirdparty%2Fglibc.git Update. * pwd/getpw.c: Add warning since no buffer size is given and therefore no overrun tests are possible. 1999-06-30 Andreas Jaeger * pwd/pwd.h: Add getpw prototype declaration. 1999-06-30 Ulrich Drepper --- diff --git a/ChangeLog b/ChangeLog index 38e6508ab41..468a2ad81ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +1999-06-30 Ulrich Drepper + + * pwd/getpw.c: Add warning since no buffer size is given and + therefore no overrun tests are possible. + +1999-06-30 Andreas Jaeger + + * pwd/pwd.h: Add getpw prototype declaration. + 1999-06-30 Ulrich Drepper * wcsmbs/wcsrchr.c: Fix handling of L'\0' parameter. diff --git a/pwd/getpw.c b/pwd/getpw.c index 8bfb02eb8b4..e2917692376 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.")