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 Arfrever, loewis, mark.dickinson, methane, 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, methane, 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