com php-src: Fix the fix for #72403 on nl2br: ext/standard/string.c

From: Date: Mon, 27 Jun 2016 19:30:42 +0000
Subject: com php-src: Fix the fix for #72403 on nl2br: ext/standard/string.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-92678@lists.php.net to get a copy of this message
Commit: 25bd11cf271f801efa346195d540f3d8e3bcb0ef Author: Stanislav Malyshev <stas@php.net> Mon, 27 Jun 2016 12:30:42 -0700 Parents: 155619184f5e427797c300d6fe0c01ddcfe5fadc Branches: PHP-5.5 PHP-5.6 PHP-7.0 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=25bd11cf271f801efa346195d540f3d8e3bcb0ef Log: Fix the fix for #72403 on nl2br Bugs: https://bugs.php.net/72403 Changed paths: M ext/standard/string.c Diff: diff --git a/ext/standard/string.c b/ext/standard/string.c index acb6a01..d141b76 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -4267,7 +4267,7 @@ PHP_FUNCTION(nl2br) { /* in brief this inserts <br /> or <br> 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;

« previous php.cvs (#92678) next »