NNTPC: wide spread y2k lossage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 10:23 24.02.2000 +1100, you wrote:

>On Wed, 23 Feb 2000, Jeff Almeida wrote:
>
>> (Qwest) that runs Breeze.  The most common error we get in Netscape is an
>> alert box with the message
>> 
>> Error!  News server responded: yymmdd hhmmss ["GMT"] [<distributions>]
>
>I've had one user report that problem too. The lazy sod posted a screen
>capture into our trouble reporting system because he couldn't cut and
>paste the error message :-)
>
>Presumably we can change the error trapping code to give us more direct
>evidence of the exact problem...

Forte Free Agent 1.11/32 for Windows has a problem with the NEWGROUPS
command. A NEWGROUPS command looks like this:

    NEWGROUPS 00225 172400 GMT

The year is only a single digit.

I suggest the following modification to src/newgroups.c of nntpcache-2.4.0b3:

40c40
<       if (len < 5 || atoi(arg1) == 0)
---
>       if (len < 6 || atoi(arg1) == 0)

I would also suggest to change line 47 of src/newgroups.c as follows:

47c47
<       arg1[len-4] = '\0';
---
>       arg1[len-4] = '0';

arg1 (containing the year string) should be terminated according to C rules.

Bye,
Robert
-- 
 _Geschäftsführer Dipl.-Informatiker (FH) Robert Federle_
| Networking People Internet Communications GmbH         |
| Alter Postweg 101, 86159 Augsburg / Augsburg HRB 16389 |
| Fax: 0821 - 99 56 02         Hotline: 01805 - 99 56 02 |
|____________http://www.networking-people.de_____________|



[Index of Archives]     [Yosemite]     [Yosemite Campsites]     [Bugtraq]     [Linux]     [Trn]

Powered by Linux