diff options
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(); |
