Skip to content

Fix: Fix null pointer dereference in wasm_c_api.c#4863

Open
lum1n0us wants to merge 1 commit intobytecodealliance:mainfrom
lum1n0us:dev/fix-c-api-null-deref
Open

Fix: Fix null pointer dereference in wasm_c_api.c#4863
lum1n0us wants to merge 1 commit intobytecodealliance:mainfrom
lum1n0us:dev/fix-c-api-null-deref

Conversation

@lum1n0us
Copy link
Contributor

@lum1n0us lum1n0us commented Mar 5, 2026

This PR fixes a null pointer dereference in wasm_c_api.c. The exec_env variable could be null in the failed block, and it was being used without a check.

@lum1n0us lum1n0us added the bug-fix Determine if this PR addresses a bug. It will be used by scripts to classify PRs. label Mar 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug-fix Determine if this PR addresses a bug. It will be used by scripts to classify PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant