summaryrefslogtreecommitdiff
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
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.
-rw-r--r--doc/tech-notes/tech-notes.txt2
-rw-r--r--imap/src/mailutil/mailutil.c2
-rw-r--r--pith/pine.hlp2
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/tech-notes/tech-notes.txt b/doc/tech-notes/tech-notes.txt
index e1eb4b94..86e5901c 100644
--- a/doc/tech-notes/tech-notes.txt
+++ b/doc/tech-notes/tech-notes.txt
@@ -1,7 +1,7 @@
Alpine Technical Notes
- Version 2.20.10, November 2015
+ Version 2.20.14, July 2016
Table of Contents
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;
}
diff --git a/pith/pine.hlp b/pith/pine.hlp
index dcf3d721..dd3339b3 100644
--- a/pith/pine.hlp
+++ b/pith/pine.hlp
@@ -140,7 +140,7 @@ with help text for the config screen and the composer that didn't have any
reasonable place to be called from.
Dummy change to get revision in pine.hlp
============= h_revision =================
-Alpine Commit 116 2015-12-14 19:09:59
+Alpine Commit 159 2016-08-09 07:49:22
============= h_news =================
<HTML>
<HEAD>