From 915a3762ef71526d6deddf95bf42a6d5bf5211f3 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 10 Mar 2016 15:22:34 +0800 Subject: Fixed typo (partially fix for #71753) --- ext/standard/uuencode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/standard/uuencode.c') 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; -- cgit v1.2.1