X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/44c01adf506b1087bff724dcb65b92a12b012836..ee66c1452ad6f627879c9ec8156342f5e90c2253:/pop.c?ds=sidebyside diff --git a/pop.c b/pop.c index ec1af23..0c98942 100644 --- a/pop.c +++ b/pop.c @@ -67,7 +67,7 @@ static int pop_read_header (POP_DATA *pop_data, HEADER *h) char buf[LONG_STRING]; char tempfile[_POSIX_PATH_MAX]; - mutt_mktemp (tempfile); + mutt_mktemp (tempfile, sizeof (tempfile)); if (!(f = safe_fopen (tempfile, "w+"))) { mutt_perror (tempfile); @@ -568,7 +568,7 @@ int pop_fetch_message (MESSAGE* msg, CONTEXT* ctx, int msgno) { /* no */ bcache = 0; - mutt_mktemp (path); + mutt_mktemp (path, sizeof (path)); if (!(msg->fp = safe_fopen (path, "w+"))) { mutt_perror (path);