From 267f99572935b8a8d215de9d87741de66fa2cf62 Mon Sep 17 00:00:00 2001 From: dpdani Date: Thu, 29 Aug 2024 11:38:24 +0200 Subject: [PATCH] must 0-initialize --- Python/structmember.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/structmember.c b/Python/structmember.c index 0f089c3a372caa..d6de425cf4978b 100644 --- a/Python/structmember.c +++ b/Python/structmember.c @@ -80,7 +80,7 @@ PyMember_GetOne(const char *obj_addr, PyMemberDef *l) v = PyUnicode_FromString((char*)addr); break; case Py_T_CHAR: { - char value; + char value = 0; v = PyUnicode_FromStringAndSize(&value, 1); break; }