summaryrefslogtreecommitdiff
path: root/chat/centericq/patches
diff options
context:
space:
mode:
authoradrianp <adrianp@pkgsrc.org>2005-12-03 17:04:23 +0000
committeradrianp <adrianp@pkgsrc.org>2005-12-03 17:04:23 +0000
commit2717a1083e4576665f6ce80cb3e298b880f93709 (patch)
tree6a2da05190c72957512a8722c1b024ef3a1f25ef /chat/centericq/patches
parentf037ad896280f2e59ff31a0fa9917c4cc54b7f17 (diff)
downloadpkgsrc-2717a1083e4576665f6ce80cb3e298b880f93709.tar.gz
Patch via Debian for:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-3694
Diffstat (limited to 'chat/centericq/patches')
-rw-r--r--chat/centericq/patches/patch-at12
1 files changed, 12 insertions, 0 deletions
diff --git a/chat/centericq/patches/patch-at b/chat/centericq/patches/patch-at
new file mode 100644
index 00000000000..8c5c2a79ca1
--- /dev/null
+++ b/chat/centericq/patches/patch-at
@@ -0,0 +1,12 @@
+$NetBSD: patch-at,v 1.1 2005/12/03 17:04:23 adrianp Exp $
+
+--- libicq2000-0.1/src/DirectClient.cpp.orig
++++ libicq2000-0.1/src/DirectClient.cpp
+@@ -162,6 +162,7 @@
+
+ m_recv.setLittleEndian();
+ m_recv >> length;
++ if (length == 0) return; // short read, toss it back (nothing to do)
+ if (length > Incoming_Packet_Limit) throw ParseException("Received too long incoming packet");
+ if (m_recv.remains() < length) return; // waiting for more of the packet
+