Skip to content

Fix UB in ToSqlOutput::from_rc#1839

Merged
gwenn merged 1 commit into
rusqlite:masterfrom
gwenn:ptr
Apr 26, 2026
Merged

Fix UB in ToSqlOutput::from_rc#1839
gwenn merged 1 commit into
rusqlite:masterfrom
gwenn:ptr

Conversation

@gwenn

@gwenn gwenn commented Apr 26, 2026

Copy link
Copy Markdown
Collaborator

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=68bc9a491ea646b7d346f568fd5d06f9

error: Undefined Behavior: incorrect layout on deallocation: alloc247 has size 32 and alignment 8, but gave size 24 and alignment 8

https://play.rust-lang.org/?version=stable&mode=debug&edition=2024&gist=68bc9a491ea646b7d346f568fd5d06f9
```
error: Undefined Behavior: incorrect layout on deallocation: alloc247 has size 32 and alignment 8, but gave size 24 and alignment 8
```
@codecov

codecov Bot commented Apr 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.64%. Comparing base (b7996bf) to head (c208397).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1839   +/-   ##
=======================================
  Coverage   87.64%   87.64%           
=======================================
  Files          58       58           
  Lines       10878    10878           
=======================================
  Hits         9534     9534           
  Misses       1344     1344           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gwenn gwenn merged commit 8a3269b into rusqlite:master Apr 26, 2026
30 of 31 checks passed
@gwenn gwenn deleted the ptr branch April 26, 2026 07:26
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