[En-Nut-Discussion] Re: PPP configuration problem (Michal Kuna)
Michal Kuna
mkuna at brainscope.cz
Tue Nov 16 12:18:37 CET 2004
> Hi,
>
> this is part of my one week ago bug report. I hope that will be
> corrected by developers.
>
>
>> I found probably bug in 'lcpin.c 1.5' file. This crash with MS RAS
>> server with long unknown OPTxx.
>>
>> Original LINE 246: ----------------------
>>
>> xcpl -= xcpo->xcpo_len;
>> xcpo = (XCPOPT *) ((char *) xcpo + xcpo->xcpo_len);
>>
>> My New code: ----------------------------
>>
>> if(len) {
>> xcpl -= len;
>> xcpo = (XCPOPT *) ((char *) xcpo + len);
>> }
>> else {
>> xcpl -= xcpo->xcpo_len;
>> xcpo = (XCPOPT *) ((char *) xcpo + xcpo->xcpo_len);
>> }
>> -----------------------------------------
>
>
> And sample my debug report ...
>
> [LCP-LOWERUP]
> PPP_OUT:(20)[LCP-001(16)][CONFREQ][OPT(12)][ACCM=0x000A0000][MAGIC=0x79563412]
> PPP_IN: (58)[LCP-000(54)][CONFREQ][OPT(50)][ACCM=0x00000000][AUTH=0xC023][MAGIC=0x63E739CB][PCOMP][ACOMP][OPT13?][OPT17?][OPT19?]
> ... death loop ....
>
> I'm on 90% sure that is the same problem. With my patch I have
> connections to Windows 2000 SP4 RAS Server without problem (I must
> enable PAP on 'netsh ras' ...) I hope it will help you a little ...
> but I'm not Enut guru and maybe it's any other :-)
>
> Regards.
> Michal
>
Sorry, next time I will send it to disscussion directly.
Michal Kuna
More information about the En-Nut-Discussion
mailing list