$OpenBSD: patch-protocols_yahoo_yahoo_util_c,v 1.1 2004/06/20 16:27:49 naddy Exp $
--- protocols/yahoo/yahoo_util.c.orig	2004-02-09 04:23:29.000000000 +1100
+++ protocols/yahoo/yahoo_util.c	2004-06-09 20:33:34.000000000 +1000
@@ -46,11 +46,11 @@ char * y_string_append(char * string, ch
 
 	if(new_string == NULL) {
 		new_string = y_new(char, size);
-		strcpy(new_string, string);
+		strlcpy(new_string, string, size);
 		FREE(string);
 	}
 
-	strcat(new_string, append);
+	strlcat(new_string, append, size);
 
 	return new_string;
 }
