openbsd-ports/net/micq/patches/patch-src_sendmsg_c
kevlo c23b85ea71 upgrade to version 0.4.7
--
No response from maintainer
2001-07-25 16:13:01 +00:00

12 lines
301 B
Plaintext

--- src/sendmsg.c.orig Sun Jun 17 21:56:27 2001
+++ src/sendmsg.c Thu Jul 19 14:35:25 2001
@@ -1087,7 +1087,7 @@
{
char buf[450];
- sprintf (buf, "%s\xFE%s", url, description);
+ snprintf (buf, sizeof(buf), "%s\xFE%s", url, description);
icq_sendmsg (sok, uin, buf, URL_MESS);
}