diff options
| -rw-r--r-- | BUGS | 1 | ||||
| -rw-r--r-- | phpunit.xml | 1 | ||||
| -rw-r--r-- | src/WebAssembly/BinaryFormat/Decoder.php | 2 |
3 files changed, 2 insertions, 2 deletions
@@ -4,4 +4,3 @@ * ImportsTest * LinkingTest -* SkipStackGuardPageTest diff --git a/phpunit.xml b/phpunit.xml index defe6df..c2be1a0 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -79,6 +79,7 @@ <file>tests/src/SpecTestsuites/Core/RefNullTest.php</file> <file>tests/src/SpecTestsuites/Core/ReturnTest.php</file> <file>tests/src/SpecTestsuites/Core/SelectTest.php</file> + <file>tests/src/SpecTestsuites/Core/SkipStackGuardPageTest.php</file> <file>tests/src/SpecTestsuites/Core/StackTest.php</file> <file>tests/src/SpecTestsuites/Core/StartTest.php</file> <file>tests/src/SpecTestsuites/Core/StoreTest.php</file> 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(); |
