summaryrefslogtreecommitdiff
path: root/chat/micq/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'chat/micq/patches/patch-ab')
-rw-r--r--chat/micq/patches/patch-ab13
1 files changed, 13 insertions, 0 deletions
diff --git a/chat/micq/patches/patch-ab b/chat/micq/patches/patch-ab
new file mode 100644
index 00000000000..073432bd198
--- /dev/null
+++ b/chat/micq/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2001/01/31 19:10:12 tron Exp $
+
+--- mreadline.c.orig Tue Jan 23 11:49:05 2001
++++ mreadline.c Wed Jan 24 22:01:31 2001
+@@ -359,7 +359,7 @@
+ break;
+ }
+ }
+- sprintf (s, "%s %s/", message_cmd,
++ snprintf (s, sizeof(s), "%s %s/", message_cmd,
+ tab_array[tab_pointer]);
+ clen = cpos = strlen (s);
+ R_undraw();