- Fixed crash bug when non-existing save/serializer handler was used. (Jani)
- Fixed memory leak in gethostbynamel() if an error occurs. (Sara)
- Fixed FastCGI being unable to bind to a specific IP. (Sascha)
+- Fixed bug #25378 (unserialize() crashes with invalid data). (Jani)
- Fixed bug #25372 (sscanf() does not work with %X). (Jani)
- Fixed bug #25348 ("make install" fails with --enable-short-tags). (Jani)
- Fixed bug #25343 (is_dir() gives warning on FreeBSD). (Jani)
/*!re2c
+uiv = [+]? [0-9]+;
iv = [+-]? [0-9]+;
nv = [+-]? ([0-9]* "." [0-9]+|[0-9]+ "." [0-9]*);
nvexp = (iv | nv) [eE] [+-]? iv;
return 1;
}
-"s:" iv ":" ["] {
+"s:" uiv ":" ["] {
int len;
char *str;
return 1;
}
-"a:" iv ":" "{" {
+"a:" uiv ":" "{" {
int elements = parse_iv(start + 2);
*p = YYCURSOR;
object_common1(UNSERIALIZE_PASSTHRU, ZEND_STANDARD_CLASS_DEF_PTR));
}
-"O:" iv ":" ["] {
+"O:" uiv ":" ["] {
int len;
int elements;
int len2;