From f4f24248dce5bf105613fce4d54c73e97dd09899 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 7 May 2013 01:01:31 +0200 Subject: [PATCH] Fix uninitialized value in charmap_decode_mapping() --- Objects/unicodeobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0