X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/44c01adf506b1087bff724dcb65b92a12b012836..e0765f8ab8243c097213733be0d4be2a31448b89:/pgpkey.c?ds=inline 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; }