summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-11-17 20:51:05 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-11-17 20:51:05 +0000
commit42b5e5f9c2465433834ec5a0c3e2165adb060a3b (patch)
tree895d0f658c64fdf181a5024ad09ffd08b9ca5dc2 /net-im
parentFix patch with absolute paths. (diff)
downloadgentoo-2-42b5e5f9c2465433834ec5a0c3e2165adb060a3b.tar.gz
gentoo-2-42b5e5f9c2465433834ec5a0c3e2165adb060a3b.tar.bz2
gentoo-2-42b5e5f9c2465433834ec5a0c3e2165adb060a3b.zip
Fix patch with absolute paths.
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 x86_64)
Diffstat (limited to 'net-im')
-rw-r--r--net-im/licq/ChangeLog6
-rw-r--r--net-im/licq/files/licq-1.3.5-prevent-dos.patch16
2 files changed, 13 insertions, 9 deletions
diff --git a/net-im/licq/ChangeLog b/net-im/licq/ChangeLog
index 5ff0c9fa4edb..bcebdc4b6a0a 100644
--- a/net-im/licq/ChangeLog
+++ b/net-im/licq/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-im/licq
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.99 2008/10/29 16:13:13 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/licq/ChangeLog,v 1.100 2008/11/17 20:51:05 flameeyes Exp $
+
+ 17 Nov 2008; Diego E. Pettenò <flameeyes@gentoo.org>
+ files/licq-1.3.5-prevent-dos.patch:
+ Fix patch with absolute paths.
*licq-1.3.6 (29 Oct 2008)
diff --git a/net-im/licq/files/licq-1.3.5-prevent-dos.patch b/net-im/licq/files/licq-1.3.5-prevent-dos.patch
index 3aaa2bc56e02..aa4e36731ed7 100644
--- a/net-im/licq/files/licq-1.3.5-prevent-dos.patch
+++ b/net-im/licq/files/licq-1.3.5-prevent-dos.patch
@@ -1,15 +1,15 @@
Source: http://www.licq.org/changeset/6146
Reason: DoS via large number of connections, bug #219708
---- /trunk/licq/include/licq_socket.h
-+++ /trunk/licq/include/licq_socket.h
+--- a/trunk/licq/include/licq_socket.h
++++ b/trunk/licq/include/licq_socket.h
@@ -251,4 +251,5 @@
fd_set SocketSet() { return m_sSockets.SocketSet(); }
int LargestSocket() { return m_sSockets.Largest(); }
+ unsigned short Num() { return m_sSockets.Num(); }
protected:
---- /trunk/licq/src/socket.cpp
-+++ /trunk/licq/src/socket.cpp
+--- a/trunk/licq/src/socket.cpp
++++ b/trunk/licq/src/socket.cpp
@@ -818,6 +818,24 @@
socklen_t sizeofSockaddr = sizeof(struct sockaddr_in);
@@ -37,8 +37,8 @@ Reason: DoS via large number of connections, bug #219708
+ }
}
---- /trunk/licq/src/icqd-threads.cpp
-+++ /trunk/licq/src/icqd-threads.cpp
+--- a/trunk/licq/src/icqd-threads.cpp
++++ b/trunk/licq/src/icqd-threads.cpp
@@ -24,4 +24,5 @@
#include "gettext.h"
@@ -67,8 +67,8 @@ Reason: DoS via large number of connections, bug #219708
+ }
}
}
---- /trunk/licq/src/icqd-chat.cpp
-+++ /trunk/licq/src/icqd-chat.cpp
+--- a/trunk/licq/src/icqd-chat.cpp
++++ b/trunk/licq/src/icqd-chat.cpp
@@ -24,4 +24,5 @@
#include "gettext.h"