]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When we receive a CHAP81 challenge response, we always expect the last
authorbrian <brian@FreeBSD.org>
Tue, 31 Jul 2001 08:21:39 +0000 (08:21 +0000)
committerbrian <brian@FreeBSD.org>
Tue, 31 Jul 2001 08:21:39 +0000 (08:21 +0000)
commit8466587a00b4e4857c829503995a7990e71f1dfe
tree895fc021cbdfc2667ac0b24a5d308c634b1a6657
parentd3544a6381c2e605416b81c849552cd79dd7a98d
When we receive a CHAP81 challenge response, we always expect the last
byte of the packet to contain '\0'.

Windows 98 gets this wrong, dropping garbage into the last byte and
failing authentication.

Now, we notice this and whinge to our log file that we're compensating
for the corrupt data.
usr.sbin/ppp/chap.c