From: Xinchen Hui Date: Thu, 10 Mar 2016 07:22:34 +0000 (+0800) Subject: Fixed typo (partially fix for #71753) X-Git-Tag: php-5.6.20RC1~9 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=915a3762ef71526d6deddf95bf42a6d5bf5211f3;p=php Fixed typo (partially fix for #71753) --- diff --git a/ext/standard/uuencode.c b/ext/standard/uuencode.c index 0a2b2b5b85..cd35c288ee 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;