From 7a2831bc0ef00559d2a2b938e0f2401f0e35d30a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Tue, 4 Jul 2023 09:26:10 +0200 Subject: gpgsm: Init a diagnostic var. * sm/minip12.c (p12_parse): Init where. -- --- sm/minip12.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sm/minip12.c b/sm/minip12.c index eafebfe67..265243f3e 100644 --- a/sm/minip12.c +++ b/sm/minip12.c @@ -2348,7 +2348,7 @@ p12_parse (const unsigned char *buffer, size_t length, const char *pw, void *certcbarg, int *r_badpass, char **r_curve) { gpg_error_t err; - const char *where; + const char *where = ""; struct tlv_ctx_s *tlv; struct p12_parse_ctx_s ctx = { NULL }; const unsigned char *oid; -- cgit v1.2.3