Author inada.naoki
Recipients Arfrever, inada.naoki, loewis, mark.dickinson, 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:50inada.naokisetrecipients: + inada.naoki, loewis, terry.reedy, mark.dickinson, pitrou, vstinner, Arfrever, python-dev, serhiy.storchaka
2019-03-20 09:15:50inada.naokisetmessageid: <1553073350.0.0.970468160732.issue8677@roundup.psfhosted.org>
2019-03-20 09:15:49inada.naokilinkissue8677 messages
2019-03-20 09:15:49inada.naokicreate