Open TysonAndre opened 1 year ago
This would affect applications that accidentally or deliberately pass in negative values for $format (e.g. PHP_INT_MIN on 64-bit builds)
if (format > APC_ITER_ALL) { /* 0xffffffff */ apc_error("APCUIterator format is invalid"); return; }
Doesn't looks that this error condition is tested currently, add one?
Looks like apc_099.phpt is failing.
This would affect applications that accidentally or deliberately pass in negative values for $format (e.g. PHP_INT_MIN on 64-bit builds)