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
Raw File
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
CODE_OF_CONDUCT.md
# Code of Conduct

Please note that all interactions on
[Python Software Foundation](https://www.python.org/psf-landing/)-supported
infrastructure is [covered](https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties)
by the [PSF Code of Conduct](https://www.python.org/psf/codeofconduct/),
which includes all the infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general, this means that everyone is expected to be **open**, **considerate**, and
**respectful** of others no matter what their position is within the project.

back to top