home bbs files messages ]

Just a sample of the Echomail archive

<< oldest | < older | list | newer > | newest >> ]

 Message 2300 
 Tommi Koivula to Carlos Navarro 
 Re: Test 
 28 Jan 24 10:02:04 
 
MSGID: 2:221/1.0 65b609f8
REPLY: 2:341/234.1 65b55856
PID: JamNNTPd/Linux/IPv6 m32 20240128 MXO
NOTE: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:115.0) Gecko/20100101
Thunderbird/115.7.0.
CHRS: UTF-8 4
TZUTC: 0200
On 27.01.2024 21:23, Carlos Navarro wrote:

> This may be a possible way to fix the corrupted From field in headers:
> in nntpserv.c, instead of just removing this line:
>
>   strcpy(mimefrom,&mimefrom[6]);
>
> Replace it by:
>
>   memmove(mimefrom,mimefrom+6,strlen(mimefrom)-5);
>
> There could also be issues with the Subject field. The next line:
>
>   strcpy(mimesubj,&mimesubj[9]);
>
> could be changed to:
>
>   memmove(mimesubj,mimesubj+9,strlen(mimesubj)-8);
>
> As for the corruption in the body of messages posted with newsreaders
> that support flowed text (like Thunderbird), I think it may be fixed by
> changing this:
>
>   strcpy(line,&line[1]);
>
> to this:
>
>   memmove(line,line+1,strlen(line));
>
> These patches are for both JamNNTPd and SmapiNNTPd.

Patched both, and so far so good.

If anyone wants to test, there are few open groups :

 jamnntpd:    mxo.fidonet.fi:119
 smapinntpd:  mxo.fidonet.fi:1119

'Tommi

---
 * Origin: 2a01:4f9:c011:1ec5:f1d0:2:221:1 (2:221/1.0)
SEEN-BY: 15/0 90/1 103/705 105/81 106/201 124/5016 128/260 135/225
SEEN-BY: 153/757 7715 154/10 30 203/0 218/700 221/1 6 242 360 226/30
SEEN-BY: 227/114 229/110 112 113 206 307 317 426 428 470 664 700 240/1120
SEEN-BY: 240/5832 266/512 280/464 5003 5555 282/1038 291/111 292/8125
SEEN-BY: 301/1 310/31 320/219 322/757 341/66 234 342/200 396/45 423/81
SEEN-BY: 423/120 460/58 256 1124 467/888 633/280 712/848 770/1 5020/400
SEEN-BY: 5054/30
PATH: 221/1 280/464 460/58 229/426


<< oldest | < older | list | newer > | newest >> ]

(c) 1994,  bbs@darkrealms.ca