From 3d3df2b3153af567b6b17c05052ab21e9b2e9a00 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Tue, 9 Aug 2016 07:49:26 -0600 Subject: * 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. --- imap/src/mailutil/mailutil.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'imap') 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; } -- cgit v1.2.3-54-g00ecf