summaryrefslogtreecommitdiff
path: root/chat/centerim/patches/patch-au
diff options
context:
space:
mode:
Diffstat (limited to 'chat/centerim/patches/patch-au')
-rw-r--r--chat/centerim/patches/patch-au27
1 files changed, 0 insertions, 27 deletions
diff --git a/chat/centerim/patches/patch-au b/chat/centerim/patches/patch-au
deleted file mode 100644
index e80b62e6b4b..00000000000
--- a/chat/centerim/patches/patch-au
+++ /dev/null
@@ -1,27 +0,0 @@
-$NetBSD: patch-au,v 1.1.1.1 2007/08/30 00:47:02 jnemeth Exp $
-
-Part of a fix for CVE-2007-3713.
-
---- src/hooks/jabberhook.cc.orig 2007-07-19 02:34:54.000000000 +0200
-+++ src/hooks/jabberhook.cc
-@@ -36,6 +36,8 @@
- #define DEFAULT_CONFSERV "conference.jabber.org"
- #define PERIOD_KEEPALIVE 30
-
-+#define NOTIFBUF 512
-+
- static void jidsplit(const string &jid, string &user, string &host, string &rest) {
- int pos;
- user = jid;
-@@ -1289,8 +1286,9 @@ void jabberhook::gotversion(const imcont
- if(vinfo.size() > 128)
- vinfo.erase(128);
-
-- char buf[256];
-- sprintf(buf, _("The remote is using %s"), vinfo.c_str());
-+ char buf[NOTIFBUF];
-+ snprintf(buf, NOTIFBUF, _("The remote is using %s"), vinfo.c_str());
-+ buf[NOTIFBUF-1] = '\0';
- em.store(imnotification(ic, buf));
- }
- }