New submission from Serhiy Storchaka <storchaka+cpyt...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue33383>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to