diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-22 14:43:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-22 14:43:07 +0100 |
commit | c48ff73dd60bec5dcbe64bedeff91e6db26d98bc (patch) | |
tree | 4f8c01541d1bfb792f3d3c3c8e5f6d3c7c55bc21 /Python/symtable.c | |
parent | 28f468cb19e3097079b7ce7850e6048de99022fa (diff) | |
download | cpython-git-c48ff73dd60bec5dcbe64bedeff91e6db26d98bc.tar.gz |
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>
Diffstat (limited to 'Python/symtable.c')
0 files changed, 0 insertions, 0 deletions