This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients pablogsal, serhiy.storchaka, vstinner
Date 2021-09-29.20:33:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632947620.82.0.905349859504.issue45325@roundup.psfhosted.org>
In-reply-to
Content
> 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?
History
Date User Action Args
2021-09-29 20:33:40vstinnersetrecipients: + vstinner, serhiy.storchaka, pablogsal
2021-09-29 20:33:40vstinnersetmessageid: <1632947620.82.0.905349859504.issue45325@roundup.psfhosted.org>
2021-09-29 20:33:40vstinnerlinkissue45325 messages
2021-09-29 20:33:40vstinnercreate