Skip to content

wasm2c: add check to avoid mprotect on zero sizes#2600

Merged
shravanrn merged 1 commit into
WebAssembly:mainfrom
PLSysSec:w2c-mprotectfix
May 17, 2025
Merged

wasm2c: add check to avoid mprotect on zero sizes#2600
shravanrn merged 1 commit into
WebAssembly:mainfrom
PLSysSec:w2c-mprotectfix

Conversation

@shravanrn

Copy link
Copy Markdown
Collaborator

QEmu's mprotect implementation doesn't seem to handle calls with a zero size

@shravanrn shravanrn requested review from keithw and sbc100 May 16, 2025 04:32
@shravanrn shravanrn enabled auto-merge (rebase) May 16, 2025 04:49
@shravanrn shravanrn disabled auto-merge May 16, 2025 23:47
@shravanrn shravanrn enabled auto-merge (rebase) May 16, 2025 23:47
QEmu's mprotect implementation doesn't seem to handle calls with a zero size
@shravanrn shravanrn merged commit d58b169 into WebAssembly:main May 17, 2025
18 checks passed
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