Skip to content

Prevent interrupt from non-owned connection#1548

Merged
gwenn merged 2 commits intorusqlite:masterfrom
gwenn:not_owned_interrupt_lock
Jul 23, 2024
Merged

Prevent interrupt from non-owned connection#1548
gwenn merged 2 commits intorusqlite:masterfrom
gwenn:not_owned_interrupt_lock

Conversation

@gwenn
Copy link
Collaborator

@gwenn gwenn commented Jul 23, 2024

Fix #1546

@codecov
Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.24%. Comparing base (844842d) to head (3810178).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1548      +/-   ##
==========================================
- Coverage   85.24%   85.24%   -0.01%     
==========================================
  Files          54       54              
  Lines       10466    10465       -1     
==========================================
- Hits         8922     8921       -1     
  Misses       1544     1544              

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

@gwenn gwenn merged commit c67b7d6 into rusqlite:master Jul 23, 2024
@gwenn gwenn deleted the not_owned_interrupt_lock branch July 23, 2024 17:46
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.

InterruptHandle created from non-owned Connection can outlive owning connection without unsafe, resulting in OOB writes

1 participant