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 /pop2.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 'pop2.c')
-rw-r--r-- | pop2.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -59,7 +59,7 @@ static int pop2_getauth(int sock, struct query *ctl, char *buf) { int status; - strcpy(shroud, ctl->password); + strlcpy(shroud, ctl->password, sizeof(shroud)); status = gen_transact(sock, "HELO %s %s", ctl->remotename, ctl->password); |