aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WebAssembly
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-07-29 20:10:17 +0900
committernsfisis <nsfisis@gmail.com>2025-07-29 20:10:17 +0900
commit05724af3db760abe7fcd6a563423193b50bc744d (patch)
treeae28b873e8276d6663197425a252f801b1774804 /src/WebAssembly
parenta6889262c6f58124e4bed8e4f51024abc9a9e264 (diff)
downloadphp-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.php2
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();