summaryrefslogtreecommitdiff
path: root/imap/src
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2016-08-09 07:49:26 -0600
committerEduardo Chappa <chappa@washington.edu>2016-08-09 07:49:26 -0600
commit3d3df2b3153af567b6b17c05052ab21e9b2e9a00 (patch)
tree07c7b207ed68e6893cdaab3856419b00a7d71ac9 /imap/src
parent48fd5e5afc806ef407b01d70e75bd160e674da1e (diff)
downloadalpine-3d3df2b3153af567b6b17c05052ab21e9b2e9a00.tar.xz
* Compilation fails in Debian Hardening, due to a printf call that is
not correctly made. Reported and patched by Christian Kujau. Final patch uses fprintf instead of printf.
Diffstat (limited to 'imap/src')
-rw-r--r--imap/src/mailutil/mailutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap/src/mailutil/mailutil.c b/imap/src/mailutil/mailutil.c
index 88408e72..15ae636b 100644
--- a/imap/src/mailutil/mailutil.c
+++ b/imap/src/mailutil/mailutil.c
@@ -258,7 +258,7 @@ int main (int argc,char *argv[])
if(!strcmp(cmd, "dedup")){
if (!src) src = "INBOX";
if (dst || merge || rwcopyp || kwcopyp || ignorep)
- printf (usgdup);
+ fprintf (stdout, "%s", usgdup);
else if(mailutil_dedup(src, debugp ? OP_DEBUG : NIL))
retcode = 0;
}