diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-05-06 23:01:31 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-05-06 23:01:31 (GMT) |
commit | f4f24248dce5bf105613fce4d54c73e97dd09899 (patch) | |
tree | bb599f2731ae57f33705623b320adacf1ba5400d /Objects | |
parent | 37c74650d15d4c6955a6184da98774a5ad930b78 (diff) | |
download | cpython-f4f24248dce5bf105613fce4d54c73e97dd09899.zip cpython-f4f24248dce5bf105613fce4d54c73e97dd09899.tar.gz cpython-f4f24248dce5bf105613fce4d54c73e97dd09899.tar.bz2 |
Fix uninitialized value in charmap_decode_mapping()
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 795c18f..c5e50eb 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -7459,7 +7459,7 @@ charmap_decode_mapping(const char *s, Py_ssize_t startinpos, endinpos; PyObject *errorHandler = NULL, *exc = NULL; unsigned char ch; - PyObject *key, *item; + PyObject *key, *item = NULL; e = s + size; |