summaryrefslogtreecommitdiff
path: root/net-im/micq/files/patch-ab
diff options
context:
space:
mode:
authorChris D. Faulhaber <jedgar@FreeBSD.org>2001-01-25 03:19:53 +0000
committerChris D. Faulhaber <jedgar@FreeBSD.org>2001-01-25 03:19:53 +0000
commit086070ab8556188fab9f146c914d269602e5caa4 (patch)
treecf3d923b518ab041b2e40d8ad34743ef5f64f217 /net-im/micq/files/patch-ab
parentAnother day. Another GNOME release. 1.2.10 here (diff)
- Update port to 0.4.6p1 (fixes remote buffer overflow)
- Add some additional buffer checks
Diffstat (limited to '')
-rw-r--r--net-im/micq/files/patch-ab11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-im/micq/files/patch-ab b/net-im/micq/files/patch-ab
new file mode 100644
index 000000000000..5a0048fae593
--- /dev/null
+++ b/net-im/micq/files/patch-ab
@@ -0,0 +1,11 @@
+--- 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();