Staging
v0.5.1
https://github.com/python/cpython
Revision bd55c46895d2fcfadda46701d3c34d78441a7806 authored by Miss Islington (bot) on 21 September 2020, 22:05:17 UTC, committed by Łukasz Langa on 04 October 2020, 16:36:45 UTC

GH- [bpo-41815](): SQLite: fix segfault if backup called on closed database

Attempting to backup a closed database will trigger segfault:

```python
import sqlite3
target = sqlite3.connect(':memory:')
source = sqlite3.connect(':memory:')
source.close()
source.backup(target)
```
(cherry picked from commit bfee9fad84531a471fd7864e88947320669f68e2)

Co-authored-by: Peter McCormick <peter@pdmccormick.com>
1 parent d636089
History
Tip revision: bd55c46895d2fcfadda46701d3c34d78441a7806 authored by Miss Islington (bot) on 21 September 2020, 22:05:17 UTC
bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)
Tip revision: bd55c46
File Mode Size
Disk Image.icns -rw-r--r-- 49.5 KB
IDLE.icns -rw-r--r-- 52.2 KB
Python Folder.icns -rw-r--r-- 553.4 KB
PythonCompiled.icns -rw-r--r-- 59.4 KB
PythonLauncher.icns -rw-r--r-- 41.7 KB
PythonSource.icns -rw-r--r-- 53.2 KB
ReadMe.txt -rw-r--r-- 142 bytes

ReadMe.txt

back to top