Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-3]: src/lib/libtelnet Pull up revision 1.7 (requested by lukem in...
details: https://anonhg.NetBSD.org/src/rev/6890c3e2fc55
branches: netbsd-3
changeset: 576529:6890c3e2fc55
user: tron <tron%NetBSD.org@localhost>
date: Sat Jul 09 22:56:52 2005 +0000
description:
Pull up revision 1.7 (requested by lukem in ticket #536):
check pwd != NULL
diffstat:
lib/libtelnet/spx.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r cd011993c874 -r 6890c3e2fc55 lib/libtelnet/spx.c
--- a/lib/libtelnet/spx.c Sat Jul 09 22:56:45 2005 +0000
+++ b/lib/libtelnet/spx.c Sat Jul 09 22:56:52 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: spx.c,v 1.5.6.1 2005/07/09 22:55:53 tron Exp $ */
+/* $NetBSD: spx.c,v 1.5.6.2 2005/07/09 22:56:52 tron Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -35,7 +35,7 @@
#if 0
static char sccsid[] = "@(#)spx.c 8.2 (Berkeley) 5/30/95";
#else
-__RCSID("$NetBSD: spx.c,v 1.5.6.1 2005/07/09 22:55:53 tron Exp $");
+__RCSID("$NetBSD: spx.c,v 1.5.6.2 2005/07/09 22:56:52 tron Exp $");
#endif
#endif /* not lint */
@@ -498,7 +498,7 @@
*/
if (getpwnam_r(UserNameRequested, &pws, pwbuf, sizeof(pwbuf), &pwd)
- != 0) {
+ != 0 || pwd == NULL) {
return(AUTH_USER); /* not authenticated */
}
Home |
Main Index |
Thread Index |
Old Index