to "gobble" (was an int, was accidentally changed to a char) which
could result in an infinite loop.
ticket: 6792
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24413
dc483132-0cff-0310-8789-
dd5450dbe970
static enum result
k5login_ok(krb5_context context, krb5_principal principal, const char *luser)
{
- int authoritative = TRUE;
+ int authoritative = TRUE, gobble;
enum result result = REJECT;
char *filename = NULL, *princname = NULL;
- char gobble, *newline, linebuf[BUFSIZ], pwbuf[BUFSIZ];
+ char *newline, linebuf[BUFSIZ], pwbuf[BUFSIZ];
struct stat sbuf;
struct passwd pwx, *pwd;
FILE *fp = NULL;