summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Hanselmann <hansmi@gentoo.org>2007-05-02 23:07:03 +0000
committerMichael Hanselmann <hansmi@gentoo.org>2007-05-02 23:07:03 +0000
commit0c96524d2f82501d483303be9bf881b4c8ced6f8 (patch)
tree71b5647b91317af926e790f877a0fe0bed606c4a /net-nds/ldapvi/files
parentStable on x86, bug #176841. (diff)
downloadgentoo-2-0c96524d2f82501d483303be9bf881b4c8ced6f8.tar.gz
gentoo-2-0c96524d2f82501d483303be9bf881b4c8ced6f8.tar.bz2
gentoo-2-0c96524d2f82501d483303be9bf881b4c8ced6f8.zip
Add patch to fix memory corruption.
(Portage version: 2.1.2.5)
Diffstat (limited to 'net-nds/ldapvi/files')
-rw-r--r--net-nds/ldapvi/files/1.6-mem-corruption.diff11
-rw-r--r--net-nds/ldapvi/files/digest-ldapvi-1.6-r13
2 files changed, 14 insertions, 0 deletions
diff --git a/net-nds/ldapvi/files/1.6-mem-corruption.diff b/net-nds/ldapvi/files/1.6-mem-corruption.diff
new file mode 100644
index 000000000000..12c3baa86e57
--- /dev/null
+++ b/net-nds/ldapvi/files/1.6-mem-corruption.diff
@@ -0,0 +1,11 @@
+--- ldapvi-1.6/misc.c 2006-11-04 13:53:40.000000000 +0100
++++ ldapvi/ldapvi/misc.c 2007-05-03 00:48:21.000000000 +0200
+@@ -277,7 +277,7 @@
+ }
+
+ n = strlen(home);
+- result = xalloc(n + 1 + strlen(name));
++ result = xalloc(n + 1 + strlen(name) + 1);
+ strcpy(result, home);
+ result[n] = '/';
+ strcpy(result + n + 1, name);
diff --git a/net-nds/ldapvi/files/digest-ldapvi-1.6-r1 b/net-nds/ldapvi/files/digest-ldapvi-1.6-r1
new file mode 100644
index 000000000000..3f8f75d06bf5
--- /dev/null
+++ b/net-nds/ldapvi/files/digest-ldapvi-1.6-r1
@@ -0,0 +1,3 @@
+MD5 09d5443bbc349548bbe016da1f734e9e ldapvi-1.6.tar.gz 113138
+RMD160 e730b09b927ae2d1cbc7f2000eae2b2fb6e766a0 ldapvi-1.6.tar.gz 113138
+SHA256 1c4b8de461ede56c674398640b4a380beb7e2180e386eef180e3db2495672876 ldapvi-1.6.tar.gz 113138