summaryrefslogtreecommitdiff
path: root/ext/standard/scanf.c
diff options
context:
space:
mode:
authorMatt Wilmas <mattwil@php.net>2009-04-01 17:05:36 +0000
committerMatt Wilmas <mattwil@php.net>2009-04-01 17:05:36 +0000
commitc27bf17f634a7cb1397b9ca5e1a8f63fb25dc4f4 (patch)
tree2400fc78254afb1385187ca5cc27888dfaab0182 /ext/standard/scanf.c
parentdc683c85f4f219f0d58b03bd1eaf0bfbe959176e (diff)
downloadphp-git-c27bf17f634a7cb1397b9ca5e1a8f63fb25dc4f4.tar.gz
MFH: explode() stuff:
- Fixed bug #47560 (explode()'s limit parameter odd behaviour) by reverting change for bug #47546 - Changed int to long where needed (should fix memory errors from overflow seen in bug #47854) - Simplified logic a bit with limit and its default value - php_explode_negative_limit(): removed safe_emalloc (not needed; plain erealloc is used later) - Moved declarations/allocation to optimize if the delimiter isn't found - Changed ALLOC_STEP size for less realloc's (and maybe better memory block alignment?)
Diffstat (limited to 'ext/standard/scanf.c')
0 files changed, 0 insertions, 0 deletions