mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
ensure read size is initialized
This commit is contained in:
parent
3776836f67
commit
8f1cdc65ee
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ static PyObject *
|
|||
mmap_read_method(mmap_object *self,
|
||||
PyObject *args)
|
||||
{
|
||||
Py_ssize_t num_bytes, remaining;
|
||||
Py_ssize_t num_bytes = PY_SSIZE_T_MAX, remaining;
|
||||
PyObject *result;
|
||||
|
||||
CHECK_VALID(NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue