Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2018-04-29.14:08:46.970>created_at=<Date2018-04-29.08:09:38.078>labels= ['extension-modules', '3.7', '3.8', 'type-crash']
title='Crash in the get() method a single argument in dbm.ndbm'updated_at=<Date2018-05-20.23:18:27.592>user='https://github.com/serhiy-storchaka'
New changeset ee95feb by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7':
[3.7] bpo-33383: Fix crash in get() of the dbm.ndbm database object. (GH-6630) (GH-6631) ee95feb
New changeset 1b27ec6 by Serhiy Storchaka in branch '3.6':
[3.6] bpo-33383: Fix crash in get() of the dbm.ndbm database object. (GH-6630). (GH-6633) 1b27ec6
Activity
serhiy-storchaka commented on Apr 29, 2018
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.
serhiy-storchaka commented on Apr 29, 2018
New changeset 2e38cc3 by Serhiy Storchaka in branch 'master':
bpo-33383: Fix crash in get() of the dbm.ndbm database object. (bpo-6630)
2e38cc3
serhiy-storchaka commented on Apr 29, 2018
New changeset ee95feb by Serhiy Storchaka (Miss Islington (bot)) in branch '3.7':
[3.7] bpo-33383: Fix crash in get() of the dbm.ndbm database object. (GH-6630) (GH-6631)
ee95feb
serhiy-storchaka commented on Apr 29, 2018
New changeset 1b27ec6 by Serhiy Storchaka in branch '3.6':
[3.6] bpo-33383: Fix crash in get() of the dbm.ndbm database object. (GH-6630). (GH-6633)
1b27ec6
ZackerySpytz commented on May 20, 2018
There was already an open issue for this (bpo-31868).
serhiy-storchaka commented on May 20, 2018
Thank you for reminder Zackery. I forgot about that issue!