Re: Latest patch for PPP

2006-08-25 Thread Roman Kurakin
Frederic Praca: Hello, in the latest security advisory for PPP, the patch deals with conditions in a for loop. The correct line is : for (rlen=0; len >= 2 && p[1] >= 2 && len >= p[1]; len-=p[1], p+=p[1]) { Couldn't the condition be simpler like : for (rlen=0; p[1] >= 2 && len >= p[1]; len-=p[1],

Latest patch for PPP

2006-08-25 Thread Frederic Praca
Hello, in the latest security advisory for PPP, the patch deals with conditions in a for loop. The correct line is : for (rlen=0; len >= 2 && p[1] >= 2 && len >= p[1]; len-=p[1], p+=p[1]) { Couldn't the condition be simpler like : for (rlen=0; p[1] >= 2 && len >= p[1]; len-=p[1], p+=p[1]){ Or is