commit e832dd4103a9e8364ac110ef2bd63aab4b37ae92
parent c62770358399c4b2dbe1e6c5c238c1ccf04bf243
Author: Colin Leroy <colin@colino.net>
Date: Mon, 20 Dec 2010 12:46:18 +0000
2010-12-20 [colin] 3.7.8cvs12
* src/common/base64.c
Fix bug #2331, "Base64 is broken in 3.7.7 and 3.7.8"
Patch by pochini at shiny.it
Diffstat:
4 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,9 @@
+2010-12-20 [colin] 3.7.8cvs12
+
+ * src/common/base64.c
+ Fix bug #2331, "Base64 is broken in 3.7.7 and 3.7.8"
+ Patch by pochini at shiny.it
+
2010-12-19 [colin] 3.7.8cvs11
* src/ldapserver.c
diff --git a/PATCHSETS b/PATCHSETS
@@ -4085,3 +4085,4 @@
( cvs diff -u -r 1.1.4.19 -r 1.1.4.20 src/ldaputil.c; ) > 3.7.8cvs9.patchset
( cvs diff -u -r 1.382.2.561 -r 1.382.2.562 src/compose.c; ) > 3.7.8cvs10.patchset
( cvs diff -u -r 1.4.2.21 -r 1.4.2.22 src/ldapserver.c; ) > 3.7.8cvs11.patchset
+( cvs diff -u -r 1.1.4.10 -r 1.1.4.11 src/common/base64.c; ) > 3.7.8cvs12.patchset
diff --git a/configure.ac b/configure.ac
@@ -12,7 +12,7 @@ MINOR_VERSION=7
MICRO_VERSION=8
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=11
+EXTRA_VERSION=12
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=
diff --git a/src/common/base64.c b/src/common/base64.c
@@ -27,7 +27,7 @@
static const gchar base64char[64] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
-static const gchar base64val[128] = {
+static const signed char base64val[128] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63,