pkgsrc/comms/fidogate/patches/patch-an
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

22 lines
832 B
Text

$NetBSD: patch-an,v 1.5 2004/08/23 15:18:02 tv Exp $
--- src/tick/ftnhatch.c.orig 2003-02-16 10:39:02.000000000 -0500
+++ src/tick/ftnhatch.c
@@ -99,7 +99,7 @@ int hatch(char *area, char *file, char *
file_crc = crc32_file(file_name);
debug(4, "file: name=%s size=%ld time=%ld crc=%08lx",
- file_name, file_size, file_time, file_crc);
+ file_name, file_size, (long) file_time, file_crc);
/*
* Build Tick struct
@@ -119,7 +119,7 @@ int hatch(char *area, char *file, char *
tic.created = CREATOR;
tic.size = file_size;
tl_appendf(&tic.path, "%s %ld %s",
- znf1(cf_addr()), now, date(NULL, &now) );
+ znf1(cf_addr()), (long) now, date(NULL, &now) );
lon_add(&tic.seenby, cf_addr());
lon_join(&tic.seenby, &bbs->nodes);
/* tic.pw set by hatch_one() */