summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2005-01-20 22:07:29 +1100
committerDarren Tucker <dtucker@zip.com.au>2005-01-20 22:07:29 +1100
commit33bc334a8bb6f20ca659f7d4f4669a04d54bd2e8 (patch)
treed0d8a5ba70293645eda0cd899b84f97045ff97a5
parentd5bfa8f9d84b1abada09333994c8c889551a61fb (diff)
- (dtucker) [loginrec.h] Bug #952: Increase size of username field to 128
bytes to prevent errors from login_init_entry() when the username is exactly 64 bytes(!) long. From brhamon at cisco.com, ok djm@
-rw-r--r--ChangeLog5
-rw-r--r--loginrec.h4
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 9eab2b46..ec830bbb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -38,6 +38,9 @@
- (dtucker) [auth-pam.c] Bug #971: Prevent leaking information about user
existence via keyboard-interactive/pam, in conjunction with previous
auth2-chall.c change; with Colin Watson and djm.
+ - (dtucker) [loginrec.h] Bug #952: Increase size of username field to 128
+ bytes to prevent errors from login_init_entry() when the username is
+ exactly 64 bytes(!) long. From brhamon at cisco.com, ok djm@
20050118
- (dtucker) [INSTALL Makefile.in configure.ac survey.sh.in] Implement
@@ -2010,4 +2013,4 @@
- (djm) Trim deprecated options from INSTALL. Mention UsePAM
- (djm) Fix quote handling in sftp; Patch from admorten AT umich.edu
-$Id: ChangeLog,v 1.3618 2005/01/20 02:27:56 dtucker Exp $
+$Id: ChangeLog,v 1.3619 2005/01/20 11:07:29 dtucker Exp $
diff --git a/loginrec.h b/loginrec.h
index 7f932c29..6b723325 100644
--- a/loginrec.h
+++ b/loginrec.h
@@ -35,7 +35,7 @@
#include <netinet/in.h>
#include <sys/socket.h>
-/* RCSID("$Id: loginrec.h,v 1.7 2003/06/03 02:18:50 djm Exp $"); */
+/* RCSID("$Id: loginrec.h,v 1.8 2005/01/20 11:07:30 dtucker Exp $"); */
/**
** you should use the login_* calls to work around platform dependencies
@@ -62,7 +62,7 @@ union login_netinfo {
/* string lengths - set very long */
#define LINFO_PROGSIZE 64
#define LINFO_LINESIZE 64
-#define LINFO_NAMESIZE 64
+#define LINFO_NAMESIZE 128
#define LINFO_HOSTSIZE 256
struct logininfo {