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:
+286
-626
File diff suppressed because it is too large
Load Diff
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user