commit | f4f24248dce5bf105613fce4d54c73e97dd09899 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue May 07 01:01:31 2013 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue May 07 01:01:31 2013 +0200 |
tree | bb599f2731ae57f33705623b320adacf1ba5400d | |
parent | 37c74650d15d4c6955a6184da98774a5ad930b78 [diff] [blame] |
Fix uninitialized value in charmap_decode_mapping()
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 @@ Py_ssize_t startinpos, endinpos; PyObject *errorHandler = NULL, *exc = NULL; unsigned char ch; - PyObject *key, *item; + PyObject *key, *item = NULL; e = s + size;