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 — sqlite: bind empty ArrayBuffer as empty blob by araujogui · Pull Request #67657 · nodejs/node Conversation
|
|
Review requested:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@ ## main #67657 +/- ## ========================================== + Coverage 90.71% 90.73% +0.01% ========================================== Files 801 801 Lines 280906 280966 +60 Branches 54249 54268 +19 ========================================== + Hits 254832 254930 +98 + Misses 16246 16200 -46 - Partials 9828 9836 +8
🚀 New features to boost your workflow:
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
lgtm
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 ec97d64 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
A zero-length ArrayBuffer or SharedArrayBuffer can have a null data pointer, and SQLite treats a null blob pointer as NULL. As a result, such values were bound as parameters, and returned from user-defined functions, as NULL instead of an empty blob. Use sqlite3_bind_zeroblob() and sqlite3_result_zeroblob() for empty buffers. Fixes: #67188 Refs: #62061 Assisted-by: Claude Opus 5.5 Signed-off-by: Guilherme Araújo <[email protected]> PR-URL: #67657 Reviewed-By: Christian Aurich Zanettini Martins <[email protected]> Reviewed-By: Gürgün Dayıoğlu <[email protected]>
A zero-length ArrayBuffer or SharedArrayBuffer can have a null data pointer, and SQLite treats a null blob pointer as NULL. As a result, such values were bound as parameters, and returned from user-defined functions, as NULL instead of an empty blob. Use sqlite3_bind_zeroblob() and sqlite3_result_zeroblob() for empty buffers. Fixes: nodejs#67188 Refs: nodejs#62061 Assisted-by: Claude Opus 5.5 Signed-off-by: Guilherme Araújo <[email protected]> PR-URL: nodejs#67657 Reviewed-By: Christian Aurich Zanettini Martins <[email protected]> Reviewed-By: Gürgün Dayıoğlu <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
sqlite: binding a zero-lengthUint8Array to a parameter can result in NULL
There was an error while loading. Please reload this page.