From d17b6eb5d8ebc702fe8da26daa9130c2545f9a5e Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 8 Jun 2000 09:56:37 +0000 Subject: [PATCH] Don't return data on the stack. Noted by "Andrew W. Nosenko" . --- charset.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charset.c b/charset.c index f74f0e2a..e5759368 100644 --- a/charset.c +++ b/charset.c @@ -463,7 +463,7 @@ FGETCONV *fgetconv_open (FILE *file, const char *from, const char *to) { struct fgetconv_s *fc; iconv_t cd = (iconv_t)-1; - const char *repls[] = { "\357\277\275", "?", 0 }; + static const char *repls[] = { "\357\277\275", "?", 0 }; if (from && to) cd = mutt_iconv_open (to, from); -- 2.40.0