Skip to content

Add missing in_function_body check to objdump#2591

Merged
sbc100 merged 1 commit into
WebAssembly:mainfrom
zherczeg:log_opcode_fix
Apr 25, 2025
Merged

Add missing in_function_body check to objdump#2591
sbc100 merged 1 commit into
WebAssembly:mainfrom
zherczeg:log_opcode_fix

Conversation

@zherczeg

@zherczeg zherczeg commented Apr 25, 2025

Copy link
Copy Markdown
Collaborator

Fixes the fuzzer bug in #2567

I noticed all objdump logs are guarded by if (!in_function_body). The code crashes without this check.

@sbc100 sbc100 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@sbc100 sbc100 merged commit 6572796 into WebAssembly:main Apr 25, 2025
@zherczeg zherczeg deleted the log_opcode_fix branch April 25, 2025 17:50
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