pkgsrc/comms/fidogate/patches/patch-aq
tv 18558c8d87 Update fidogate to 4.4.9nb1. Extremely minor changes from 4.4.5, mainly
changes local to the author's system and changes in doc to note better
the newer home on SourceForge.

However, this does contain a quasi-security fix:  LOGFILE and
FIDOGATE_LOGFILE could have been used to alter files owned by user/group
"news".  This is fixed in 4.4.9nb1, and will also be fixed in 4.4.10 from
the author.
2004-08-23 15:18:02 +00:00

15 lines
612 B
Text

$NetBSD: patch-aq,v 1.2 2004/08/23 15:18:02 tv Exp $
--- src/toss/history.c.orig 2003-02-16 10:39:02.000000000 -0500
+++ src/toss/history.c
@@ -151,8 +151,8 @@ static int hi_write_t(time_t t, time_t m
}
/* Write MSGID line to history text file */
- debug(7, "history: offset=%ld: %s %ld", offset, msgid, t);
- ret = fprintf(hi_file, "%s\t%ld\n", msgid, t);
+ debug(7, "history: offset=%ld: %s %ld", offset, msgid, (long) t);
+ ret = fprintf(hi_file, "%s\t%ld\n", msgid, (long) t);
if (ret == ERROR || fflush(hi_file) == ERROR)
{
log("$ERROR: write to MSGID history failed");