Hi Yasuo, On Jul 4, 2013 5:54 AM, "Yasuo Ohgaki" <yohg...@ohgaki.net> wrote: > > Hi Anthony, > > 2013/7/3 Anthony Ferrara <ircmax...@gmail.com> > > > I've migrated php_pcre.c over, but pcrelib still uses int for string sizes. > > This is going to be a much larger refactor, and I wanted to see people's > > thoughts prior to digging into it. > > > > For upgradability and compatibility, bundled pcrelib should be left as > it is. Instead, checking possible over/under flow before passes string is > better.
Or ask pcre to use size_t as well for their next major version. Cheers, Pierre