summaryrefslogtreecommitdiff
path: root/net-p2p/ctorrent/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-16 16:47:37 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-16 16:47:37 +0100
commit8aebb228036d5e2863b7eaa6e319ab41c1669269 (patch)
tree00f4b90ce32462dc8e99ae54a31d6462ea2c3ac6 /net-p2p/ctorrent/files
parent76cba73c47c8694e74377004634daca18f2d9c08 (diff)
gentoo resync : 16.04.2018
Diffstat (limited to 'net-p2p/ctorrent/files')
-rw-r--r--net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch20
1 files changed, 10 insertions, 10 deletions
diff --git a/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch b/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch
index 196703099f60..f732278a18d0 100644
--- a/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch
+++ b/net-p2p/ctorrent/files/ctorrent-CVE-2009-1759.patch
@@ -3,8 +3,8 @@ Source: Upstream SVN, rev 302 from the drorrent-3 branch.
Index: bencode.h
===================================================================
---- bencode.h (revision 300)
-+++ bencode.h (revision 302)
+--- a/bencode.h (revision 300)
++++ b/bencode.h (revision 302)
@@ -25,7 +25,7 @@
size_t decode_list(const char *b,size_t len,const char *keylist);
size_t decode_rev(const char *b,size_t len,const char *keylist);
@@ -16,8 +16,8 @@ Index: bencode.h
size_t bencode_int(const uint64_t integer, FILE *fp);
Index: bencode.cpp
===================================================================
---- bencode.cpp (revision 300)
-+++ bencode.cpp (revision 302)
+--- a/bencode.cpp (revision 300)
++++ b/bencode.cpp (revision 302)
@@ -233,22 +233,28 @@
return bencode_end_dict_list(fp);
}
@@ -53,8 +53,8 @@ Index: bencode.cpp
return (pb - b + 1);
Index: btfiles.cpp
===================================================================
---- btfiles.cpp (revision 300)
-+++ btfiles.cpp (revision 302)
+--- a/btfiles.cpp (revision 300)
++++ b/btfiles.cpp (revision 302)
@@ -449,7 +449,8 @@
return 0;
}
@@ -334,8 +334,8 @@ Index: btfiles.cpp
Index: btcontent.cpp
===================================================================
---- btcontent.cpp (revision 300)
-+++ btcontent.cpp (revision 302)
+--- a/btcontent.cpp (revision 300)
++++ b/btcontent.cpp (revision 302)
@@ -357,7 +357,11 @@
cfg_req_queue_length = (m_piece_length / cfg_req_slice_size) * 2 - 1;
@@ -351,8 +351,8 @@ Index: btcontent.cpp
b = (char *)0;
Index: btfiles.h
===================================================================
---- btfiles.h (revision 300)
-+++ btfiles.h (revision 302)
+--- a/btfiles.h (revision 300)
++++ b/btfiles.h (revision 302)
@@ -61,7 +61,7 @@
int BuildFromFS(const char *pathname);