* libmisc/failure.h, libmisc/failure.c, src/login.c: Added
username as first parameter of failtmp to avoid issues with non-null terminated ut_user, unavailability of ut_user, incomplete username (that should not happen currently).
This commit is contained in:
@ -997,7 +997,7 @@ int main (int argc, char **argv)
|
||||
strncpy (failent.ut_user, failent_user,
|
||||
sizeof (failent.ut_user));
|
||||
failent.ut_type = USER_PROCESS;
|
||||
failtmp (&failent);
|
||||
failtmp (failent_user, &failent);
|
||||
}
|
||||
|
||||
retries--;
|
||||
|
Reference in New Issue
Block a user