Author vstinner
Recipients Arfrever, inada.naoki, loewis, mark.dickinson, pitrou, python-dev, serhiy.storchaka, terry.reedy, vstinner
Date 2019-03-20.11:07:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553080021.94.0.459550462106.issue8677@roundup.psfhosted.org>
In-reply-to
Content
PC/winreg.c:

    if (value_length >= INT_MAX) {
        PyErr_SetString(PyExc_OverflowError,
                        "the value is too long");
        return NULL;
    }

PY_DWORD_MAX should be used here. It's twice larger than INT_MAX ;-)
History
Date User Action Args
2019-03-20 11:07:01vstinnersetrecipients: + vstinner, loewis, terry.reedy, mark.dickinson, pitrou, Arfrever, inada.naoki, python-dev, serhiy.storchaka
2019-03-20 11:07:01vstinnersetmessageid: <1553080021.94.0.459550462106.issue8677@roundup.psfhosted.org>
2019-03-20 11:07:01vstinnerlinkissue8677 messages
2019-03-20 11:07:01vstinnercreate