You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
484: fix bugs in emscripten socket syscalls r=MarkMcCaskey a=MarkMcCaskey
resolves#482
This PR fixes:
- incorrect argument order
- which cascaded in to a casting issue
- which cascaded in to misaligning the arguments of a function
- which cascaded in to attempting to access an OOB pointer
- sets fd limit to 1024, rather than emscripten's 64
- updates `prlimit64` to return the correct result for `RLIMIT_NOFILE`
- fixes bug in `prlimit64` due to a mistransaltion of the emscripten javascript
Co-authored-by: Mark McCaskey <mark@wasmer.io>
0 commit comments