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 methane
Recipients Arfrever, loewis, mark.dickinson, methane, pitrou, python-dev, serhiy.storchaka, terry.reedy, vstinner
Date 2019-03-20.09:15:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553073350.0.0.970468160732.issue8677@roundup.psfhosted.org>
In-reply-to
Content
> Also PC/winreg.c. In this case winreg.SetValue() needs a length of size DWORD instead of ssize_t.

As MSDN, cbData is ignored.
https://docs.microsoft.com/en-us/windows/desktop/api/winreg/nf-winreg-regsetvaluew

Can I skip overflow check?

If I can not, what is DWORD_MAX? (INT_MAX?)
History
Date User Action Args
2019-03-20 09:15:50methanesetrecipients: + methane, loewis, terry.reedy, mark.dickinson, pitrou, vstinner, Arfrever, python-dev, serhiy.storchaka
2019-03-20 09:15:50methanesetmessageid: <1553073350.0.0.970468160732.issue8677@roundup.psfhosted.org>
2019-03-20 09:15:49methanelinkissue8677 messages
2019-03-20 09:15:49methanecreate