aboutsummaryrefslogtreecommitdiff
path: root/net-im/climm/files/patch-ac
blob: b44d774b820c63d264c87eeea5e965e2984a5828 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- sendmsg.c.orig	Tue Jan 23 11:49:05 2001
+++ sendmsg.c	Wed Jan 24 22:02:47 2001
@@ -977,7 +977,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 );
 }