diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-30 00:35:20 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-30 00:35:20 +0000 |
commit | 6639dfcf3d8bb983d248c697d9c9d6adb4350920 (patch) | |
tree | a872d5a87277c8b20a209a714d03c94095b96493 /pop3.c | |
parent | 39748b973691feacdea50448cbfdabdc5ab624e5 (diff) | |
download | fetchmail-6639dfcf3d8bb983d248c697d9c9d6adb4350920.tar.gz fetchmail-6639dfcf3d8bb983d248c697d9c9d6adb4350920.tar.bz2 fetchmail-6639dfcf3d8bb983d248c697d9c9d6adb4350920.zip |
strcpy -> strlcpy, strcat -> strlcat
svn path=/trunk/; revision=4186
Diffstat (limited to 'pop3.c')
-rw-r--r-- | pop3.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -523,7 +523,7 @@ static int pop3_getauth(int sock, struct query *ctl, char *greeting) } #endif /* OPIE_ENABLE */ - strcpy(shroud, ctl->password); + strlcpy(shroud, ctl->password, sizeof(shroud)); ok = gen_transact(sock, "PASS %s", ctl->password); shroud[0] = '\0'; #ifdef SSL_ENABLE |