summaryrefslogtreecommitdiff
path: root/net/micq/files/patch-ac
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/micq/files/patch-ac
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/micq/files/patch-ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/micq/files/patch-ac b/net/micq/files/patch-ac
new file mode 100644
index 000000000000..b44d774b820c
--- /dev/null
+++ b/net/micq/files/patch-ac
@@ -0,0 +1,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 );
+ }
+