From 72a3bb18d1ffa13ba92802d5f4219d782228a6bb Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Sat, 6 Mar 2004 19:06:04 +0000 Subject: [PATCH] Fixed bug #27460 (base64_decode() does not handle extra padding). --- ext/standard/base64.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/standard/base64.c b/ext/standard/base64.c index 6c316a6689..583710dd53 100644 --- a/ext/standard/base64.c +++ b/ext/standard/base64.c @@ -188,7 +188,6 @@ PHPAPI unsigned char *php_base64_decode(const unsigned char *str, int length, in /* mop things up if we ended on a boundary */ if (ch == base64_pad) { switch(i % 4) { - case 0: case 1: efree(result); return NULL; -- 2.50.1