From 05724af3db760abe7fcd6a563423193b50bc744d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 29 Jul 2025 20:10:17 +0900 Subject: fix: Make SkipStackGuardPageTest pass --- src/WebAssembly/BinaryFormat/Decoder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/WebAssembly') diff --git a/src/WebAssembly/BinaryFormat/Decoder.php b/src/WebAssembly/BinaryFormat/Decoder.php index 65541e5..6ab39ff 100644 --- a/src/WebAssembly/BinaryFormat/Decoder.php +++ b/src/WebAssembly/BinaryFormat/Decoder.php @@ -613,7 +613,7 @@ final class Decoder { $count = $this->decodeU32(); // @todo Provide a way to configure the limit. - if (1024 < $count) { + if (1056 < $count) { throw new InvalidBinaryFormatException("too many local variables"); } $type = $this->decodeValType(); -- cgit v1.2.3-70-g09d2