TIP: Click on subject to list as thread! ANSI
echo: fidosoft.husky
to: Oli
from: Kai Richter
date: 2021-02-04 00:19:00
subject: Squish __ftsc_date bug

Hello Oli!

03 Feb 21, Oli wrote to Kai Richter:

 O>   The  XMSG  structure  has  the following format:

Thanks, you found the XMSG definition i was looking for.

 KR>> I don't doubt that the problem exist but for fault confirmation
 KR>> and trouble shooting it is easier to know the software in use.

 O> hpt does it wrong. I tested it. What else is there to trouble shoot?

The other side of the medal. As said i'm no coder and my search for hpt found this one:

https://github.com/huskyproject/hpt/search?q=__ftsc_date&type=

 src/scan.c
96    msg->destAddr.point = xmsg.dest.point;
97    strcpy((char *)msg->datetime, (char *)xmsg.__ftsc_date);
98    xstrcat(&(msg->subjectLine), (char *)xmsg.subj);

This looks like the xmsg.* is the squish base message.
It looks like the ftsc date is overwritten by some copy -> wrong, i'm no coder.

https://www.cplusplus.com/reference/cstring/strcpy/

char * strcpy ( char * destination, const char * source );

Unlike usual copy the C++ strcpy works reversed, the scan.c of hpt get the original squish base ftsc data and uses it for the datetime field.

 O> It's just a simple bug ...

If it is it would be fixed already.
You reported this one a year ago, don't you?

My knowledge does end here. It was interesting but i can't help you further.

 O> It only affects systems that use a Squish database and have downlinks
 O> that do a %RESCAN.

And it does apply to mails without msgid only. Good luck.

Regards

Kai

--- GoldED+/LNX 1.1.4.7
                  
* Origin: Monobox (2:240/77)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.