iliaa Sat Mar 6 14:06:14 2004 EDT
Modified files: (Branch: PHP_4_3)
/php-src NEWS
/php-src/ext/standard base64.c
Log:
MFH: Fixed bug #27460 (base64_decode() does not handle extra padding).
http://cvs.php.net/diff.php/php-src/NEWS?r1=1.1247.2.583&r2=1.1247.2.584&ty=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.1247.2.583 php-src/NEWS:1.1247.2.584
--- php-src/NEWS:1.1247.2.583 Sat Mar 6 13:35:51 2004
+++ php-src/NEWS Sat Mar 6 14:06:11 2004
@@ -5,6 +5,8 @@
allocation functions. (Ilia)
- Fixed bug #27505 (htmlentities() does not handle BIG5 correctly). (Ilia,
ywliu at hotmail dot com)
+- Fixed bug #27460 (base64_decode() does not handle extra padding).
+ (Ilia, naish at klanen dot net)
- Fixed bug #27443 (defined() returns wrong type). (Derick)
- Fixed bug #27437 (wrong freetype include inside GD library). (Ilia)
- Fixed bug #27384 (unpack() misbehaves with 1 char string). (GeorgeS)
http://cvs.php.net/diff.php/php-src/ext/standard/base64.c?r1=1.33.4.5&r2=1.33.4.6&ty=u
Index: php-src/ext/standard/base64.c
diff -u php-src/ext/standard/base64.c:1.33.4.5 php-src/ext/standard/base64.c:1.33.4.6
--- php-src/ext/standard/base64.c:1.33.4.5 Sun Nov 9 15:30:15 2003
+++ php-src/ext/standard/base64.c Sat Mar 6 14:06:12 2004
@@ -15,7 +15,7 @@
| Author: Jim Winstead <[EMAIL PROTECTED]> |
+----------------------------------------------------------------------+
*/
-/* $Id: base64.c,v 1.33.4.5 2003/11/09 20:30:15 derick Exp $ */
+/* $Id: base64.c,v 1.33.4.6 2004/03/06 19:06:12 iliaa Exp $ */
#include <string.h>
@@ -188,7 +188,6 @@
/* mop things up if we ended on a boundary */
if (ch == base64_pad) {
switch(i % 4) {
- case 0:
case 1:
efree(result);
return NULL;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php