Skip to content

fix(deps): upgrade rusqlite to 0.41 - #990

Merged
fengmk2 merged 2 commits into
mainfrom
codex/upgrade-rusqlite-041
Nov 18, 2026
Merged

fengmk2 merged 2 commits into
mainfrom
codex/upgrade-rusqlite-041

Conversation

@fengmk2

@fengmk2 fengmk2 commented Nov 10, 2026

Copy link
Copy Markdown
Member

Motivation

The task cache uses bundled SQLite affected by RUSTSEC-2026-0459. Opening a crafted database and WAL file can expose uninitialized memory.

Upgrade rusqlite to 0.41 and update Cargo.lock to resolve rusqlite 0.41.1 and libsqlite3-sys 0.39.1. This includes the patched SQLite 3.54.1.

@socket-security

socket-security Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedcargo/​hashbrown@​0.17.110010093100100
Updatedcargo/​rusqlite@​0.39.0 ⏵ 0.41.110010093100100

View full report

@fengmk2
fengmk2 requested a review from wan9chi November 10, 2026 18:13
@github-actions

github-actions Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

fspy benchmark

linux

dynamic/launch             change  +0.56%  [ -4.91% ..  +5.60%]  overhead   +57.13%
dynamic/access             change  -0.77%  [-10.38% ..  +7.25%]  overhead   +20.80%
dynamic/access-relative    change  -0.29%  [-12.65% ..  +6.42%]  overhead   +77.05%
dynamic/access-contended   change  +3.29%  [ -7.00% .. +23.85%]  overhead   +35.53%
static/launch              change  +0.29%  [ -4.49% ..  +5.02%]  overhead  +195.54%
static/access              change  +0.70%  [ -8.87% ..  +4.37%]  overhead +1415.06%
static/access-relative     change  +0.46%  [ -9.66% .. +10.23%]  overhead +1930.91%
static/access-contended    change  +0.96%  [ -1.10% ..  +2.48%]  overhead +2119.64%

macos

dynamic/launch             change  -0.22%  [ -2.45% ..  +2.66%]  overhead  +232.42%
dynamic/access             change  +0.01%  [ -2.30% ..  +2.38%]  overhead    +1.20%
dynamic/access-relative    change  -0.12%  [ -3.06% ..  +4.73%]  overhead  +249.81%
dynamic/access-contended   change  +0.00%  [ -2.11% ..  +2.17%]  overhead    +3.73%

windows

dynamic/launch             change  +0.35%  [ -2.09% ..  +2.93%]  overhead   +26.95%
dynamic/access             change  +0.00%  [ -1.09% ..  +1.11%]  overhead    +0.91%
dynamic/access-relative    change  +0.18%  [ -0.88% ..  +1.07%]  overhead    +0.88%
dynamic/access-contended   change  +0.17%  [ -1.22% ..  +1.23%]  overhead    +1.78%

@fengmk2
fengmk2 merged commit 42d4ee7 into main Nov 18, 2026
20 checks passed
@fengmk2
fengmk2 deleted the codex/upgrade-rusqlite-041 branch November 18, 2026 11:55
@fengmk2 fengmk2 self-assigned this Nov 18, 2026
fengmk2 pushed a commit to voidzero-dev/vite-plus that referenced this pull request Nov 21, 2026
Bumps the vite-task git dependencies from `cb1ea8d` to `42d4ee78`.

[vite-task
changes](voidzero-dev/vite-task@cb1ea8d...42d4ee7)

## Notable vite-task changes

- Git Bash and other MSYS2/Cygwin programs no longer crash with `Win32
error 487` when a task with automatic input tracking starts them on
Windows (voidzero-dev/vite-task#952, fixes #3121 /
voidzero-dev/vite-task#830).
- On Linux, a task runs untracked instead of failing when the seccomp
filter can't be installed (voidzero-dev/vite-task#701).
- rusqlite 0.41 (voidzero-dev/vite-task#990), plus Oxlint dev-dependency
updates.

## Tested

On Windows 11 with Git for Windows 2.56, I built the `vite-plus-cli`
binding from this branch and from `main`, and swapped each into a
`[email protected]` project whose task runs `sh -c 'printf ok'` from Node
with automatic tracking (the repro from #3121):

- `main` (`cb1ea8d`): `sh.exe: *** fatal error - MapViewOfFileEx
'shared.5' ... Win32 error 487`
- this branch: prints `ok`, and the next run is a cache hit.

`cargo check` for `vp_command`, `vp_pm_cli` and `vp_global_cli`, and
`cargo test -p vite-plus-cli` (74 passed) pass locally. No snapshot
changes: none of the bumped commits touch CLI output.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant