From 309f65b4c91c5e5df768d0a0e3a6ab445d737b2c Mon Sep 17 00:00:00 2001 From: Michael Elkins Date: Wed, 17 Dec 2003 08:46:50 +0000 Subject: [PATCH] Fix possible core dump in mailcap nametemplate handling. --- rfc1524.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rfc1524.c b/rfc1524.c index f0fc57b80..d360bb474 100644 --- a/rfc1524.c +++ b/rfc1524.c @@ -469,7 +469,7 @@ int rfc1524_expand_filename (char *nametemplate, } else if (!oldfile) { - snprintf (newfile, nflen, nametemplate, "mutt"); + mutt_expand_fmt (newfile, nflen, nametemplate, "mutt"); } else /* oldfile && nametemplate */ { -- 2.40.0