New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:

&DK_ENTRIES(k)[i] can be evaluated when i is -1. Getting the address before the 
beginning of the array is an undefined behavior in C.

----------
components: Interpreter Core
messages: 355122
nosy: inada.naoki, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Undefined behavior in dictreviter_iternext
type: behavior
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue38555>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to