From: Ilia Alshanetsky Date: Tue, 24 Jun 2003 15:26:10 +0000 (+0000) Subject: MFH: Fixed bug #24312 (base64_decode() does not skip 0xF0-0xFF characters) X-Git-Tag: php-4.3.3RC2~254 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e459214613c0d1f195d26863235ab8620181ec5b;p=php MFH: Fixed bug #24312 (base64_decode() does not skip 0xF0-0xFF characters) --- diff --git a/NEWS b/NEWS index 7e60eeaaf4..5f5f34fe3d 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,8 @@ PHP 4 NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 26 Jun 2003, Version 4.3.3RC2 +- Fixed bug #24312 (base64_decode() does not skip 0xF0-0xFF characters). + (gereon.steffens[at]onvista.de, Ilia) - Fixed bug #24313 (file_exist() warning on non-existent files when open_basedir is used). (Ilia) - Fixed bug #24284 (Fixed memory leak inside pg_ping()). (Ilia) diff --git a/ext/standard/base64.c b/ext/standard/base64.c index aebe90f102..ef11a888ac 100644 --- a/ext/standard/base64.c +++ b/ext/standard/base64.c @@ -48,6 +48,7 @@ static const short base64_reverse_table[256] = { -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, -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 }; /* }}} */