aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/beecrypt/beecrypt-4.1.2-base64.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-08-28 22:23:15 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-08-28 22:24:21 +0000
commit32f78b1f669188be2ab8efbb234b3040bb737e5e (patch)
treec61a351e1e9ed3c4d350c42a478e208d7ea7c45a /unmaintained/beecrypt/beecrypt-4.1.2-base64.patch
parent047b36f3d100572bf258f541accc2e1ec90c86b7 (diff)
downloadaports-32f78b1f669188be2ab8efbb234b3040bb737e5e.tar.bz2
aports-32f78b1f669188be2ab8efbb234b3040bb737e5e.tar.xz
unmaintained/beecrypt: move from main
It does not look like anything uses beecrypt and the testcase fails. The problem have been reported upstream https://sourceforge.net/p/beecrypt/support-requests/19/ Meanwhile we move it to unmaintained.
Diffstat (limited to 'unmaintained/beecrypt/beecrypt-4.1.2-base64.patch')
-rw-r--r--unmaintained/beecrypt/beecrypt-4.1.2-base64.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/unmaintained/beecrypt/beecrypt-4.1.2-base64.patch b/unmaintained/beecrypt/beecrypt-4.1.2-base64.patch
new file mode 100644
index 0000000000..c6c370bd07
--- /dev/null
+++ b/unmaintained/beecrypt/beecrypt-4.1.2-base64.patch
@@ -0,0 +1,11 @@
+Fix b64encode() for data starting with NUL from Miloslav Trmac <mitr@redhat.com>
+--- beecrypt-4.1.2/base64.c.b64 2005-04-26 21:46:27.000000000 +0200
++++ beecrypt-4.1.2/base64.c 2005-04-26 21:47:48.000000000 +0200
+@@ -253,7 +253,6 @@
+ unsigned c;
+
+ if (s == NULL) return NULL;
+- if (*s == '\0') return calloc(1, sizeof(*t));
+
+ if (ns == 0) ns = strlen((const char*) s);
+ nt = ((ns + 2) / 3) * 4;