Hello,

This seems to be fallout from t64 and something like the (completely
untested) attached patch might be a good start to resolving this.

Someone might want to do a deeper analysis of what the code is
doing with the data rather than just minimal efforts
to get it to compile, otherwise I have a feeling bad things
might happen.

Hope it helps,

Andreas Henriksson
From: Andreas Henriksson <andr...@fatal.se>
Subject: fix t64 fallout

Bug-Debian: https://bugs.debian.org/1091270
Last-Update: 2025-01-01

--- ifmail-2.14tx8.10.orig/ifcico/hydra.c
+++ ifmail-2.14tx8.10/ifcico/hydra.c
@@ -531,7 +531,7 @@ int hydra_batch(int role, file_list *to_
   char *inbuf, *outbuf;
   int rxlen, txlen;		/* length of receive/transmit buffer */
   long txwindow, rxwindow;	/* window sizes */
-  long txpos, rxpos;		/* file positions */
+  off_t txpos, rxpos;		/* file positions */
   long stxpos, srxpos;
   long longnum;
   int hdxlink = 0;
@@ -894,7 +894,7 @@ int hydra_batch(int role, file_list *to_
       {
 	if (to_send)
 	{
-	  txlen = sprintf(txbuf, "%08lx%08lx%08lx%08lx%08lx",
+	  txlen = sprintf(txbuf, "%08zx%08jx%08lx%08lx%08lx",
 			  mtime2sl(txstat.st_mtime),
 			  txstat.st_size,
 			  0UL,

Reply via email to