Re: com php-src: fix negative zend_long to size_t cast: ext/standard/string.c
| From: | Yasuo Ohgaki | Date: | Mon, 29 Jun 2015 08:40:52 +0000 |
| Subject: | Re: com php-src: fix negative zend_long to size_t cast: ext/standard/string.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-87609@lists.php.net to get a copy of this message | ||
Hi Anatol,
On Mon, Jun 29, 2015 at 5:27 PM, Anatol Belski <ab@php.net> wrote:
> + if (f < 0 && -f > Z_STRLEN_P(str)) {
It seems this could be
+ if (-f > Z_STRLEN_P(str)) {
--
Yasuo Ohgaki
yohgaki@ohgaki.net