summaryrefslogtreecommitdiff
path: root/Python/codecs.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2019-09-12 00:43:22 +0100
committerGitHub <noreply@github.com>2019-09-12 00:43:22 +0100
commit39de95b746c990e6a2fe9af5fad01747f58b2e5f (patch)
treee493945a5beed10740ec8711b7579f3bdc5edf02 /Python/codecs.c
parentee536b2020b1f0baad1286dbd4345e13870324af (diff)
downloadcpython-git-39de95b746c990e6a2fe9af5fad01747f58b2e5f.tar.gz
closes bpo-38124: Fix bounds check in PyState_AddModule. (GH-16007)
The >=, checking whether a module index was in already in the module-by-index list, needed to be strict. Also, fold nested ifs into one and fix some bad spacing.
Diffstat (limited to 'Python/codecs.c')
0 files changed, 0 insertions, 0 deletions