Closed laizy closed 5 years ago
Merging #149 into master will decrease coverage by
0.02%
. The diff coverage is0%
.
@@ Coverage Diff @@
## master #149 +/- ##
==========================================
- Coverage 69.47% 69.44% -0.03%
==========================================
Files 43 43
Lines 4921 4923 +2
==========================================
Hits 3419 3419
- Misses 1217 1219 +2
Partials 285 285
Impacted Files | Coverage Δ | |
---|---|---|
exec/vm.go | 83.27% <0%> (-0.6%) |
:arrow_down: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 0864b86...c8ed6c5. Read the comment docs.
we current has some host function like:
vicious wasm code can provide a large
keylen
to make the bytes allocation failed. Expose the current memory size can let us prevent this attack by checkingkeyPtr + keylen <= MemSize