X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/44c01adf506b1087bff724dcb65b92a12b012836..19b0c8668052e0b78e7dc46cee155de14c13a26c:/pgpkey.c diff --git a/pgpkey.c b/pgpkey.c index d837013..04bca9f 100644 --- a/pgpkey.c +++ b/pgpkey.c @@ -547,7 +547,7 @@ static pgp_key_t pgp_select_key (pgp_key_t keys, case OP_VERIFY_KEY: - mutt_mktemp (tempfile); + mutt_mktemp (tempfile, sizeof (tempfile)); if ((devnull = fopen ("/dev/null", "w")) == NULL) /* __FOPEN_CHECKED__ */ { mutt_perror _("Can't open /dev/null"); @@ -730,7 +730,7 @@ BODY *pgp_make_key_attachment (char *tempf) if (!tempf) { - mutt_mktemp (tempfb); + mutt_mktemp (tempfb, sizeof (tempfb)); tempf = tempfb; }