New submission from Ken Jin <kenjin4...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue45648>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to