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.14 (requested by lukem i...
details: https://anonhg.NetBSD.org/src/rev/987b03d9e925
branches: netbsd-3
changeset: 576530:987b03d9e925
user: tron <tron%NetBSD.org@localhost>
date: Sat Jul 09 22:56:58 2005 +0000
description:
Pull up revision 1.14 (requested by lukem in ticket #536):
check pwd != NULL
diffstat:
lib/libtelnet/kerberos5.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 6890c3e2fc55 -r 987b03d9e925 lib/libtelnet/kerberos5.c
--- a/lib/libtelnet/kerberos5.c Sat Jul 09 22:56:52 2005 +0000
+++ b/lib/libtelnet/kerberos5.c Sat Jul 09 22:56:58 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kerberos5.c,v 1.12.6.1 2005/07/09 22:55:59 tron Exp $ */
+/* $NetBSD: kerberos5.c,v 1.12.6.2 2005/07/09 22:56:58 tron Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -430,7 +430,7 @@
inbuf.length = cnt;
if (getpwnam_r(UserNameRequested, &pws, pwbuf,
- sizeof(pwbuf), &pwd) != 0)
+ sizeof(pwbuf), &pwd) != 0 || pwd == NULL)
break;
snprintf(ccname, sizeof(ccname),
Home |
Main Index |
Thread Index |
Old Index