summaryrefslogtreecommitdiff
path: root/chat/micq/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'chat/micq/patches/patch-ac')
-rw-r--r--chat/micq/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/chat/micq/patches/patch-ac b/chat/micq/patches/patch-ac
new file mode 100644
index 00000000000..0a5de64c499
--- /dev/null
+++ b/chat/micq/patches/patch-ac
@@ -0,0 +1,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 );
+ }
+