projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cde17f8
)
slocal: must not read profile (indirectly through m_mktemp2()).
author
markus schnalke
<meillo@marmaro.de>
Thu, 22 Mar 2012 06:51:27 +0000
(07:51 +0100)
committer
markus schnalke
<meillo@marmaro.de>
Thu, 22 Mar 2012 06:51:27 +0000
(07:51 +0100)
uip/slocal.c
patch
|
blob
|
history
diff --git
a/uip/slocal.c
b/uip/slocal.c
index
eecd760
..
b619952
100644
(file)
--- 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);