WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
169890
WebAssembly: can mprotect ever fail?
https://bugs.webkit.org/show_bug.cgi?id=169890
Summary
WebAssembly: can mprotect ever fail?
JF Bastien
Reported
2017-03-20 13:59:34 PDT
WasmMemory uses mprotect and tries to handle its failure. I'm not sure it should ever fail according to the manpage for MacOS. Linux seems to allow failure if the kernel runs out of memory for its internal data structures, which seems *really* bad. In both cases I suspect we should just assert out.
Attachments
Add attachment
proposed patch, testcase, etc.
JF Bastien
Comment 1
2017-04-19 16:21:34 PDT
Fixed in other patches.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug