[issue45648] Better tp_version_tag overflow checks in specializer
Ken Jin
report at bugs.python.org
Thu Oct 28 10:53:27 EDT 2021
New submission from Ken Jin <kenjin4096 at gmail.com>:
Unless I'm mistaken, the current code in Python/specialize.c doesn't check for valid tp_version_tag, so version tag could overflow and it wouldn't know any better.
Ideally, we should add more robust tests for when tp_version_tag overflows, but that's a project for another day.
----------
messages: 405190
nosy: Mark.Shannon, kj
priority: normal
severity: normal
status: open
title: Better tp_version_tag overflow checks in specializer
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45648>
_______________________________________
More information about the Python-bugs-list
mailing list