[New-bugs-announce] [issue41815] SQLite: segfault if backup called on closed database

Peter McCormick report at bugs.python.org
Sat Sep 19 12:08:19 EDT 2020


New submission from Peter McCormick <peter at pdmccormick.com>:

Attempting to backup a closed database will trigger segfault:

```
target = sqlite.connect(':memory:')
source = sqlite.connect(":memory:")
source.close()
source.backup(target)
```

----------
files: fix.patch
keywords: patch
messages: 377176
nosy: pdmccormick
priority: normal
severity: normal
status: open
title: SQLite: segfault if backup called on closed database
type: crash
versions: Python 3.10, Python 3.7, Python 3.8, Python 3.9
Added file: https://bugs.python.org/file49464/fix.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41815>
_______________________________________


More information about the New-bugs-announce mailing list