diff options
author | Eduardo Chappa <chappa@washington.edu> | 2016-08-09 07:49:26 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2016-08-09 07:49:26 -0600 |
commit | 3d3df2b3153af567b6b17c05052ab21e9b2e9a00 (patch) | |
tree | 07c7b207ed68e6893cdaab3856419b00a7d71ac9 /imap | |
parent | 48fd5e5afc806ef407b01d70e75bd160e674da1e (diff) | |
download | alpine-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')
-rw-r--r-- | imap/src/mailutil/mailutil.c | 2 |
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; } |