GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||
GeezerVison is showing github.com — ffi: reject detached ArrayBuffers as pointers by trivikr · Pull Request #65083 · nodejs/node Conversation
|
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
3713f90 to
6aa48c5
Compare
There was an error while loading. Please reload this page.
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@ ## main #65083 +/- ## ========================================== - Coverage 90.30% 90.30% -0.01% ========================================== Files 760 760 Lines 248526 248595 +69 Branches 46886 46911 +25 ========================================== + Hits 224439 224496 +57 - Misses 15515 15528 +13 + Partials 8572 8571 -1
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Reject detached ArrayBuffers and ArrayBuffer views in getRawPointer() and FFI pointer argument conversion. This prevents detached backing stores from being silently passed to native functions as null pointers. Signed-off-by: Kamat, Trivikram <[email protected]> Assisted-by: codex:gpt-5.6-sol
Report that the ArrayBuffer is detached instead of describing its backing store as invalid. Signed-off-by: Kamat, Trivikram <[email protected]>
ffi: reject detached ArrayBuffers as pointers Reject detached ArrayBuffers and ArrayBuffer views in getRawPointer() and all FFI pointer argument conversion paths, including optimized fast calls. This prevents detached backing stores from being silently passed to native functions as null pointers. Signed-off-by: Kamat, Trivikram <[email protected]> Assisted-by: codex:gpt-5.6-sol
6aa48c5 to
99ac691
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Landed in 525e8f4 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Reject detached ArrayBuffers and ArrayBuffer views in getRawPointer() and FFI pointer argument conversion. This prevents detached backing stores from being silently passed to native functions as null pointers. Signed-off-by: Kamat, Trivikram <[email protected]> Assisted-by: codex:gpt-5.6-sol PR-URL: #65083 Fixes: #65082 Reviewed-By: Paolo Insogna <[email protected]>
Reject detached ArrayBuffers and ArrayBuffer views in getRawPointer() and FFI pointer argument conversion. This prevents detached backing stores from being silently passed to native functions as null pointers. Signed-off-by: Kamat, Trivikram <[email protected]> Assisted-by: codex:gpt-5.6-sol PR-URL: #65083 Fixes: #65082 Reviewed-By: Paolo Insogna <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
ffi: Detached ArrayBuffers and views are silently converted to null FFI pointers
There was an error while loading. Please reload this page.