diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-10-06 06:32:09 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-10-06 06:32:09 (GMT) |
commit | 8f1cdc65ee9db0040d031f7da6284cc72d44c9ba (patch) | |
tree | cc4dcaaa974343f6367f3bd44582e6817a9a00c4 /Modules | |
parent | 3776836f675f3d52b21713a45460f09a03af15df (diff) | |
download | cpython-8f1cdc65ee9db0040d031f7da6284cc72d44c9ba.zip cpython-8f1cdc65ee9db0040d031f7da6284cc72d44c9ba.tar.gz cpython-8f1cdc65ee9db0040d031f7da6284cc72d44c9ba.tar.bz2 |
ensure read size is initialized
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/mmapmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/mmapmodule.c b/Modules/mmapmodule.c index e01de44..4eb9274 100644 --- a/Modules/mmapmodule.c +++ b/Modules/mmapmodule.c @@ -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); |