aboutsummaryrefslogtreecommitdiff
path: root/src/arch/wasm/CodeGen.zig
diff options
context:
space:
mode:
authorFlandreScarlet <flandere@synkhronix.com>2022-06-23 14:07:08 +0200
committerGitHub <noreply@github.com>2022-06-23 15:07:08 +0300
commit87d8cb19e4eed905b93d39554ea9a2a1012f6668 (patch)
tree31a205c59129b7308b20d0ad62a8b77cdb799d92 /src/arch/wasm/CodeGen.zig
parent6de0c622ff770628110208f5edeff54940cf5caa (diff)
downloadzig-87d8cb19e4eed905b93d39554ea9a2a1012f6668.tar.gz
zig-87d8cb19e4eed905b93d39554ea9a2a1012f6668.zip
std.debug: fix ConfigurableTrace.dump OOB
The for-loop in dump() would index out of bounds if `t.index` is greater than size, because `end` is the maximum of `t.index` and `size` rather than the minimum.
Diffstat (limited to 'src/arch/wasm/CodeGen.zig')
0 files changed, 0 insertions, 0 deletions