iliaa           Sat Mar  6 14:06:04 2004 EDT

  Modified files:              
    /php-src/ext/standard       base64.c 
  Log:
  Fixed bug #27460 (base64_decode() does not handle extra padding).
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/base64.c?r1=1.41&r2=1.42&ty=u
Index: php-src/ext/standard/base64.c
diff -u php-src/ext/standard/base64.c:1.41 php-src/ext/standard/base64.c:1.42
--- php-src/ext/standard/base64.c:1.41  Thu Jan  8 03:17:30 2004
+++ php-src/ext/standard/base64.c       Sat Mar  6 14:06:04 2004
@@ -15,7 +15,7 @@
    | Author: Jim Winstead <[EMAIL PROTECTED]>                                  |
    +----------------------------------------------------------------------+
  */
-/* $Id: base64.c,v 1.41 2004/01/08 08:17:30 andi Exp $ */
+/* $Id: base64.c,v 1.42 2004/03/06 19:06:04 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

Reply via email to