{{ message }}
Commit e2f952f
sqlite: prevent reentrant session.close()
Reject session.close() while generating a changeset or patchset.
Closing the session at that point frees it while SQLite is still
using it, causing a use-after-free.
Signed-off-by: Kamat, Trivikram <16024985+trivikr@users.noreply.github.com>
Assisted-by: codex:gpt-5.6-sol
PR-URL: #65349
Fixes: #65347
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>1 parent 810929b commit e2f952f
4 files changed
Lines changed: 31 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4299 | 4299 | | |
4300 | 4300 | | |
4301 | 4301 | | |
| 4302 | + | |
| 4303 | + | |
| 4304 | + | |
| 4305 | + | |
4302 | 4306 | | |
4303 | 4307 | | |
4304 | 4308 | | |
| |||
4324 | 4328 | | |
4325 | 4329 | | |
4326 | 4330 | | |
| 4331 | + | |
| 4332 | + | |
4327 | 4333 | | |
4328 | 4334 | | |
4329 | 4335 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
458 | 458 | | |
459 | 459 | | |
460 | 460 | | |
| 461 | + | |
461 | 462 | | |
462 | 463 | | |
463 | 464 | | |
| |||

0 commit comments