Open
Description
There is a potential signed integer overflow in the expression:
Line 1365 in 132b6bc
This occurs in the loop:
Line 1329 in 132b6bc
len
is derived from a Py_SIZE
cast, and it can possibly be INT_MAX
:Lines 1728 to 1730 in 132b6bc
It means that sum can theoretically exceed
INT_MAX
if len
is near the limit, triggering undefined behavior due to signed integer overflow.