[New-bugs-announce] [issue38124] off-by-one error in PyState_GetModule

Benjamin Peterson report at bugs.python.org
Wed Sep 11 19:08:38 EDT 2019

New submission from Benjamin Peterson <benjamin at python.org>:

https://github.com/python/cpython/blob/3f4db4a0bab073b768fae958e93288bd5d24eadd/Python/pystate.c#L707 should be using > not >=.

components: Interpreter Core
messages: 352031
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: off-by-one error in PyState_GetModule
type: behavior
versions: Python 3.7, Python 3.8, Python 3.9

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list