Skip to content

doc,test: mem protection must be observed in ffi#62818

Draft
bengl wants to merge 1 commit intonodejs:mainfrom
bengl:bengl/ffi-mem-prot-doc-test
Draft

doc,test: mem protection must be observed in ffi#62818
bengl wants to merge 1 commit intonodejs:mainfrom
bengl:bengl/ffi-mem-prot-doc-test

Conversation

@bengl
Copy link
Copy Markdown
Member

@bengl bengl commented Apr 19, 2026

When using ffi.toBuffer, memory protection on any memory pages exposed must be observed by the caller, otherwise crashes will occur.

Now documented, and tested.

When using ffi.toBuffer, memory protection on any memory pages exposed
must be observed by the caller, otherwise crashes will occur.

Now documented, and tested.
@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants