com php-src: Fixed typo (partially fix for #71753): ext/standard/uuencode.c

From: Date: Thu, 10 Mar 2016 07:22:34 +0000
Subject: com php-src: Fixed typo (partially fix for #71753): ext/standard/uuencode.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-91311@lists.php.net to get a copy of this message
Commit: 915a3762ef71526d6deddf95bf42a6d5bf5211f3 Author: Xinchen Hui <laruence@gmail.com> Thu, 10 Mar 2016 15:22:34 +0800 Parents: a1d1f54b42be75cfbcf5b84b100a37be3db9057d Branches: PHP-5.6 PHP-7.0 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=915a3762ef71526d6deddf95bf42a6d5bf5211f3 Log: Fixed typo (partially fix for #71753) Bugs: https://bugs.php.net/71753 Changed paths: M ext/standard/uuencode.c Diff: diff --git a/ext/standard/uuencode.c b/ext/standard/uuencode.c index 0a2b2b5..cd35c28 100644 --- a/ext/standard/uuencode.c +++ b/ext/standard/uuencode.c @@ -168,7 +168,7 @@ PHPAPI int php_uudecode(char *src, int src_len, char **dest) /* {{{ */ s++; } - if ((len = total_len > (p - *dest))) { + if ((len = total_len) > (p - *dest)) { *p++ = PHP_UU_DEC(*s) << 2 | PHP_UU_DEC(*(s + 1)) >> 4; if (len > 1) { *p++ = PHP_UU_DEC(*(s + 1)) << 4 | PHP_UU_DEC(*(s + 2)) >> 2;

« previous php.cvs (#91311) next »