diff options
author | adrianp <adrianp@pkgsrc.org> | 2005-12-03 17:04:23 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2005-12-03 17:04:23 +0000 |
commit | dc068ffe09c9f528e548d45ef649bb6fcb587478 (patch) | |
tree | 6a2da05190c72957512a8722c1b024ef3a1f25ef /chat/centericq/patches | |
parent | a0522391ee0238f16b44b928adbe470b1f2bf8d9 (diff) | |
download | pkgsrc-dc068ffe09c9f528e548d45ef649bb6fcb587478.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-at | 12 |
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 + |