1
0
mirror of https://github.com/php/php-src.git synced 2026-04-29 11:13:36 +02:00

- Make valgrind happy with session_decode_error2.phpt

This commit is contained in:
Felipe Pena
2011-11-09 23:50:01 +00:00
parent 6fac17f9d0
commit 9da6f6a374
2 changed files with 292 additions and 627 deletions
File diff suppressed because it is too large Load Diff
+6 -1
View File
@@ -409,7 +409,12 @@ PHPAPI int php_var_unserialize(UNSERIALIZE_PARAMETER)
const unsigned char *cursor, *limit, *marker, *start;
zval **rval_ref;
limit = cursor = *p;
limit = max;
cursor = *p;
if (YYCURSOR >= YYLIMIT) {
return 0;
}
if (var_hash && cursor[0] != 'R') {
var_push(var_hash, rval);