X-Git-Url: https://git.llucax.com/software/mutt-debian.git/blobdiff_plain/647ac5444d022537a1f0854dd309494c511dfe07..84b9ea1689a8189d41ea4a821a1fd6cc446b9332:/pop.c 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);