Skip to content

fix: use copy of input for wasm_runtime_load to fix overwrites-const-input in fuzz#4869

Open
kylo5aby wants to merge 1 commit intobytecodealliance:mainfrom
kylo5aby:fuzz
Open

fix: use copy of input for wasm_runtime_load to fix overwrites-const-input in fuzz#4869
kylo5aby wants to merge 1 commit intobytecodealliance:mainfrom
kylo5aby:fuzz

Conversation

@kylo5aby
Copy link
Contributor

wasm_runtime_load may modify the buffer (e.g. wasm_const_str_list_insert).
Copy Data before load in wasm_mutator_fuzz and aot_compiler_fuzz.

…input in fuzz

Signed-off-by: zhenweijin <zhenwei.jin@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants