mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +00:00
Fix uninitialized value in charmap_decode_mapping()
This commit is contained in:
parent
37c74650d1
commit
f4f24248dc
1 changed files with 1 additions and 1 deletions
|
@ -7459,7 +7459,7 @@ charmap_decode_mapping(const char *s,
|
||||||
Py_ssize_t startinpos, endinpos;
|
Py_ssize_t startinpos, endinpos;
|
||||||
PyObject *errorHandler = NULL, *exc = NULL;
|
PyObject *errorHandler = NULL, *exc = NULL;
|
||||||
unsigned char ch;
|
unsigned char ch;
|
||||||
PyObject *key, *item;
|
PyObject *key, *item = NULL;
|
||||||
|
|
||||||
e = s + size;
|
e = s + size;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue