$OpenBSD: patch-protocols_oscar_search_c,v 1.1 2006/04/11 15:11:33 naddy Exp $
--- protocols/oscar/search.c.orig	Sun Oct 10 21:24:06 2004
+++ protocols/oscar/search.c	Tue Nov  1 21:55:55 2005
@@ -112,7 +112,7 @@ int search_modfirst(aim_session_t *sess,
 	mod->toolid = 0x0110;
 	mod->toolversion = 0x0629;
 	mod->flags = 0;
-	strncpy(mod->name, "search", sizeof(mod->name));
+	strlcpy(mod->name, "search", sizeof(mod->name));
 	mod->snachandler = snachandler;
 
 	return 0;
