diff options
Diffstat (limited to 'src/appl/bsd/v4rcp.c')
-rw-r--r-- | src/appl/bsd/v4rcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/appl/bsd/v4rcp.c b/src/appl/bsd/v4rcp.c index 3cb7b3f..6baadf8 100644 --- a/src/appl/bsd/v4rcp.c +++ b/src/appl/bsd/v4rcp.c @@ -1071,7 +1071,7 @@ answer_auth() } #endif - strcpy(instance, "*"); + strlcpy(instance, "*", sizeof(instance)); /* If rshd was invoked with the -s argument, it will set the environment variable KRB_SRVTAB. We use that to get the |