STINNER Victor <[email protected]> added the comment:
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 ;-)
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue8677>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com