mirror of
https://github.com/Yubico/yubico-pam.git
synced 2024-11-29 00:24:11 +01:00
Use strncpy() instead of strcpy()
Not an issue, just the former is considered good practice.
This commit is contained in:
parent
66265a3343
commit
89c1622ba2
@ -289,7 +289,7 @@ main(int argc, char **argv)
|
||||
ykp_errno = 0;
|
||||
yk_errno = 0;
|
||||
|
||||
strcpy (action, ACTION_ADD_HMAC_CHALRESP);
|
||||
strncpy(action, ACTION_ADD_HMAC_CHALRESP, ACTION_MAX_LEN);
|
||||
|
||||
if (! parse_args(argc, argv,
|
||||
&slot, &verbose,
|
||||
|
Loading…
Reference in New Issue
Block a user