- (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@
This commit is contained in:
Darren Tucker 2005-01-20 22:07:29 +11:00
Родитель d5bfa8f9d8
Коммит 33bc334a8b
2 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -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 $

Просмотреть файл

@ -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 {