]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 19 Oct 2019 20:20:51 +0000 (13:20 -0700)
committerGitHub <noreply@github.com>
Sat, 19 Oct 2019 20:20:51 +0000 (13:20 -0700)
commitd73205d788a32148ba9a2beaa27badbd94ab65ff
tree0d45accb52bb202f9816b91194ac3bcab0168e6a
parentbbd600a17b24155f0b36f2cd473e17b09029ade6
bpo-38525: Fix a segmentation fault when using reverse iterators of empty dict (GH-16846)

The reverse iterator for empty dictionaries was not handling correctly shared-key dictionaries.
(cherry picked from commit 24dc2f8c56697f9ee51a4887cf0814b6600c1815)

Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
Lib/test/test_dict.py
Misc/NEWS.d/next/Core and Builtins/2019-10-20-00-36-18.bpo-38525.Vty1cA.rst [new file with mode: 0644]
Objects/dictobject.c