Skip to content

Commit

Permalink
wasi: fix a overrun
Browse files Browse the repository at this point in the history
  • Loading branch information
yamt committed Feb 1, 2023
1 parent b04b064 commit ca5ed33
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/wasi.c
Original file line number Diff line number Diff line change
Expand Up @@ -3331,7 +3331,6 @@ wasi_sock_shutdown(struct exec_context *ctx, struct host_instance *hi,
HOST_FUNC_CONVERT_PARAMS(ft, params);
uint32_t wasifd = HOST_FUNC_PARAM(ft, params, 0, i32);
uint32_t sdflags = HOST_FUNC_PARAM(ft, params, 1, i32);
uint32_t retp = HOST_FUNC_PARAM(ft, params, 2, i32);
struct wasi_fdinfo *fdinfo = NULL;
int hostfd;
int ret;
Expand Down

0 comments on commit ca5ed33

Please sign in to comment.