[issue33383] Crash in the get() method a single argument in dbm.ndbm
Serhiy Storchaka
report at bugs.python.org
Sun Apr 29 04:09:38 EDT 2018
New submission from Serhiy Storchaka <storchaka+cpython at gmail.com>:
Calling the get() method of the dbm.ndbm database object with only single argument causes a crash because the default value is set to NULL.
The regression was introduce in 3.5.
The proposed patch fixes the crash and add tests for the get() method for all dbm implementations.
----------
components: Extension Modules
messages: 315883
nosy: serhiy.storchaka
priority: normal
severity: normal
status: open
title: Crash in the get() method a single argument in dbm.ndbm
type: crash
versions: Python 3.6, Python 3.7, Python 3.8
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33383>
_______________________________________
More information about the Python-bugs-list
mailing list