Commit 4f52bff
authored
Check for end of input while reading expressions (WebAssembly#8092)
If the input ends in an expression, we are missing at minimum the end
of the function, so it is definitely invalid.
Fixes WebAssembly#80891 parent 34f8d2f commit 4f52bff
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4763 | 4763 | | |
4764 | 4764 | | |
4765 | 4765 | | |
4766 | | - | |
| 4766 | + | |
4767 | 4767 | | |
4768 | 4768 | | |
4769 | 4769 | | |
4770 | 4770 | | |
4771 | 4771 | | |
| 4772 | + | |
| 4773 | + | |
| 4774 | + | |
4772 | 4775 | | |
4773 | 4776 | | |
4774 | 4777 | | |
| |||
0 commit comments