[issue44707] runtime error: applying zero offset to null pointer in Objects/listobject.c

Serhiy Storchaka report at bugs.python.org
Thu Jul 22 16:07:31 EDT 2021


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

AFAIK pointer arithmetic with NULL has undefined behavior. There is similar case in list_slice().

----------
components: +Interpreter Core
nosy: +mark.dickinson, serhiy.storchaka
type:  -> compile error
versions: +Python 3.10, Python 3.11, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44707>
_______________________________________


More information about the Python-bugs-list mailing list