13 lines
459 B
Plaintext
13 lines
459 B
Plaintext
$OpenBSD: patch-protocols_oscar_bos_c,v 1.1 2006/04/11 15:11:33 naddy Exp $
|
|
--- protocols/oscar/bos.c.orig Thu Mar 24 00:38:46 2005
|
|
+++ protocols/oscar/bos.c Tue Nov 1 22:03:38 2005
|
|
@@ -152,7 +152,7 @@ int bos_modfirst(aim_session_t *sess, ai
|
|
mod->toolid = 0x0110;
|
|
mod->toolversion = 0x0629;
|
|
mod->flags = 0;
|
|
- strncpy(mod->name, "bos", sizeof(mod->name));
|
|
+ strlcpy(mod->name, "bos", sizeof(mod->name));
|
|
mod->snachandler = snachandler;
|
|
|
|
return 0;
|