bpo-41815: SQLite: segfault if backup called on closed database (GH-22322)
# [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)
``` P
Peter McCormick committed
bfee9fad84531a471fd7864e88947320669f68e2
Parent: c8c70e7
Committed by GitHub <noreply@github.com>
on 9/20/2020, 3:40:46 AM