diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-05-07 01:01:31 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-05-07 01:01:31 +0200 |
commit | f4f24248dce5bf105613fce4d54c73e97dd09899 (patch) | |
tree | bb599f2731ae57f33705623b320adacf1ba5400d | |
parent | 37c74650d15d4c6955a6184da98774a5ad930b78 (diff) | |
download | cpython-git-f4f24248dce5bf105613fce4d54c73e97dd09899.tar.gz |
Fix uninitialized value in charmap_decode_mapping()
-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 795c18f25b..c5e50eb68b 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; |