summaryrefslogtreecommitdiff
path: root/net-im/micq/files/patch-ac
blob: 45a371954d0e4ce5b50f4a0ee19183ba476e7e67 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$FreeBSD$

--- src/server.c	2002/04/05 09:53:54	1.1
+++ src/server.c	2002/04/05 09:54:20
@@ -134,7 +134,7 @@
 {
     char buf[450];
 
-    sprintf (buf, "%s%c%s", url, ConvSep (), description);
+    snprintf (buf, sizeof(buf), "%s%c%s", url, ConvSep (), description);
     icq_sendmsg (sess, uin, buf, URL_MESS);
 }