diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-07-29 20:10:17 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-07-29 20:10:17 +0900 |
| commit | 05724af3db760abe7fcd6a563423193b50bc744d (patch) | |
| tree | ae28b873e8276d6663197425a252f801b1774804 /src/WebAssembly | |
| parent | a6889262c6f58124e4bed8e4f51024abc9a9e264 (diff) | |
| download | php-waddiwasi-05724af3db760abe7fcd6a563423193b50bc744d.tar.gz php-waddiwasi-05724af3db760abe7fcd6a563423193b50bc744d.tar.zst php-waddiwasi-05724af3db760abe7fcd6a563423193b50bc744d.zip | |
fix: Make SkipStackGuardPageTest pass
Diffstat (limited to 'src/WebAssembly')
| -rw-r--r-- | src/WebAssembly/BinaryFormat/Decoder.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
