commit | c48ff73dd60bec5dcbe64bedeff91e6db26d98bc | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@redhat.com> | Thu Nov 22 14:43:07 2018 +0100 |
committer | GitHub <noreply@github.com> | Thu Nov 22 14:43:07 2018 +0100 |
tree | 4f8c01541d1bfb792f3d3c3c8e5f6d3c7c55bc21 | |
parent | 28f468cb19e3097079b7ce7850e6048de99022fa [diff] |
bpo-18407: win32_urandom() uses PY_DWORD_MAX (GH-10656) CryptGenRandom() maximum size is PY_DWORD_MAX, not INT_MAX. Use DWORD type for the 'chunk' variable Co-Authored-By: Jeremy Kloth <jeremy.kloth@gmail.com>