mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Closes #15793: Stack corruption in ssl.RAND_egd()
This commit is contained in:
parent
e8db356cf1
commit
c8754a13e6
3 changed files with 6 additions and 7 deletions
|
@ -1917,7 +1917,7 @@ PySSL_RAND_egd(PyObject *self, PyObject *args)
|
|||
PyObject *path;
|
||||
int bytes;
|
||||
|
||||
if (!PyArg_ParseTuple(args, "O&|i:RAND_egd",
|
||||
if (!PyArg_ParseTuple(args, "O&:RAND_egd",
|
||||
PyUnicode_FSConverter, &path))
|
||||
return NULL;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue