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
The last argument of function convert_num() is declared in src/C/base.c to be an int.
But in src/C/dense.c and src/C/sparse.c, the very same argument is declared to be an int_t.
This can create undefined behavior or crashes on platforms where int and Py_ssize_t have different bit width.
Cheers,
The text was updated successfully, but these errors were encountered:
This is Debian bug #744955:
The last argument of function
convert_num()
is declared insrc/C/base.c
to be anint
.But in
src/C/dense.c
andsrc/C/sparse.c
, the very same argument is declared to be anint_t
.This can create undefined behavior or crashes on platforms where
int
andPy_ssize_t
have different bit width.Cheers,
The text was updated successfully, but these errors were encountered: