Message402904
> but there is a catch -- the arguments should be a C int. If it is not, you can break a stack.
I never understood how "..." arguments work under the hood. What happens if you pass a double, it is stored as a double on the C stack, and then Py_BuildValue() will read junk data? |
|
Date |
User |
Action |
Args |
2021-09-29 20:33:40 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, pablogsal |
2021-09-29 20:33:40 | vstinner | set | messageid: <1632947620.82.0.905349859504.issue45325@roundup.psfhosted.org> |
2021-09-29 20:33:40 | vstinner | link | issue45325 messages |
2021-09-29 20:33:40 | vstinner | create | |
|