From: Stanislav Malyshev Date: Mon, 27 Jun 2016 19:30:42 +0000 (-0700) Subject: Fix the fix for #72403 on nl2br X-Git-Tag: php-5.5.38~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=25bd11cf271f801efa346195d540f3d8e3bcb0ef;p=php Fix the fix for #72403 on nl2br --- diff --git a/ext/standard/string.c b/ext/standard/string.c index acb6a01087..d141b76012 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -4267,7 +4267,7 @@ PHP_FUNCTION(nl2br) { /* in brief this inserts
or
before matched regexp \n\r?|\r\n? */ char *tmp, *str; - int new_length; + size_t new_length; char *end, *target; int repl_cnt = 0; int str_len;