mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Make sure rhostip is always initialized.
PR: bin/51508 Submitted by: Peter Grimshaw <peter@tesseract.demon.co.uk>
This commit is contained in:
parent
ccd703cfe4
commit
8f3031025b
1 changed files with 1 additions and 1 deletions
|
|
@ -170,7 +170,7 @@ pam_sm_acct_mgmt(pam_handle_t *pamh, int flags __unused,
|
|||
time_t warntime;
|
||||
int retval;
|
||||
const char *rhost, *tty, *user;
|
||||
char rhostip[MAXHOSTNAMELEN];
|
||||
char rhostip[MAXHOSTNAMELEN] = "";
|
||||
|
||||
pam_std_option(&options, other_options, argc, argv);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue