From 7456ca0a9639bfb73899b721fe66323d90277160 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Thu, 22 Mar 2012 07:51:27 +0100 Subject: [PATCH] slocal: must not read profile (indirectly through m_mktemp2()). --- uip/slocal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uip/slocal.c b/uip/slocal.c index eecd760..b619952 100644 --- a/uip/slocal.c +++ b/uip/slocal.c @@ -1258,7 +1258,7 @@ copy_message(int qd, char *tmpfil, int fold) FILE *qfp, *ffp; char *tfile = NULL; - tfile = m_mktemp2(NULL, invo_name, &fd1, NULL); + tfile = m_mktemp2("/tmp/", invo_name, &fd1, NULL); if (tfile == NULL) return -1; fchmod(fd1, 0600); strncpy(tmpfil, tfile, BUFSIZ); -- 1.7.10.4