You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
structseq.c: NULL dereference in get_type_attr_as_size #148119
When PyDict_GetItemWithError returns NULL due to error (not missing key), code falls through to PyLong_AsSsize_t(NULL) at line 37 → segfault. Affects PyStructSequence_New, structseq_new_impl, etc.
Activity
pythongh-148119: Refactor `get_type_attr_as_size` to improve error ha…
gh-148119: Refactor `get_type_attr_as_size` to improve error handling…
pythongh-148119: Refactor `get_type_attr_as_size` to improve error ha…