summaryrefslogtreecommitdiff
path: root/chat/micq/patches/patch-ac
blob: 0a5de64c49904fb9fdbd8ea1f964559a14466892 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.1 2001/01/31 19:10:12 tron Exp $

--- 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 );
 }