Re: BUGREPORT: small typo in Crypt/CHAP.php
| From: | Arnaud Limbourg | Date: | Sun, 21 Sep 2003 15:30:13 +0000 |
| Subject: | Re: BUGREPORT: small typo in Crypt/CHAP.php | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-7941@lists.php.net to get a copy of this message | ||
Can you fill a bug report, on the package page on pear.php.net there is a Report Bug link.
Thanks.
> Hi, while creating a password change form for out samba domain, I
> discovered a small typo bug in Crypt/CHAP.php, in function
> lmPasswordHash().
>
> instead of
>
> $this->_desHash(substr($plain, 8, 7));
>
> there should be
>
> $this->_desHash(substr($plain, 7, 7));
>
>
> that's all, but it prevented from creating a working lmPassword, which is longer than 7
> characters.
>