Commits

Victor Stinner committed 1c1f60c

Fix uninitialized value in charmap_decode_mapping()

Comments (0)

Files changed (1)

Objects/unicodeobject.c

     Py_ssize_t startinpos, endinpos;
     PyObject *errorHandler = NULL, *exc = NULL;
     unsigned char ch;
-    PyObject *key, *item;
+    PyObject *key, *item = NULL;
 
     e = s + size;