From 6639dfcf3d8bb983d248c697d9c9d6adb4350920 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 30 Jul 2005 00:35:20 +0000 Subject: strcpy -> strlcpy, strcat -> strlcat svn path=/trunk/; revision=4186 --- pop2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pop2.c') diff --git a/pop2.c b/pop2.c index 88ad4244..bfccac17 100644 --- a/pop2.c +++ b/pop2.c @@ -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); -- cgit v1.2.3