aboutsummaryrefslogtreecommitdiffstats
path: root/pop3.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2005-07-30 00:35:20 +0000
committerMatthias Andree <matthias.andree@gmx.de>2005-07-30 00:35:20 +0000
commit6639dfcf3d8bb983d248c697d9c9d6adb4350920 (patch)
treea872d5a87277c8b20a209a714d03c94095b96493 /pop3.c
parent39748b973691feacdea50448cbfdabdc5ab624e5 (diff)
downloadfetchmail-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pop3.c b/pop3.c
index dd3daf27..b5d1a965 100644
--- a/pop3.c
+++ b/pop3.c
@@ -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