File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ static hash_spec_result php_hash_xxh32_unserialize(
8282 hash_spec_result r = HASH_SPEC_FAILURE ;
8383 if (magic == PHP_HASH_SERIALIZE_MAGIC_SPEC
8484 && (r = php_hash_unserialize_spec (hash , zv , PHP_XXH32_SPEC )) == HASH_SPEC_SUCCESS
85- && ctx -> s .memsize < 16 ) {
85+ && ctx -> s .bufferedSize < 16 ) {
8686 return HASH_SPEC_SUCCESS ;
8787 }
8888
@@ -238,7 +238,7 @@ static hash_spec_result php_hash_xxh64_unserialize(
238238 hash_spec_result r = HASH_SPEC_FAILURE ;
239239 if (magic == PHP_HASH_SERIALIZE_MAGIC_SPEC
240240 && (r = php_hash_unserialize_spec (hash , zv , PHP_XXH64_SPEC )) == HASH_SPEC_SUCCESS
241- && ctx -> s .memsize < 32 ) {
241+ && ctx -> s .bufferedSize < 32 ) {
242242 return HASH_SPEC_SUCCESS ;
243243 }
244244
You can’t perform that action at this time.
0 commit comments