Guest account - NO PASSWORD in NT-password field

Matt Chapman matty at samba.org
Mon Mar 22 13:55:16 GMT 1999


Lutz Jacob wrote:

> There is some bad code in strhex_to_str:
>
>  while (!(p1 = strchr(hexchars, toupper(strhex[i]))))
>  {
>     continue;
>  }
>
> This is an endless loop if the call to strchr() fails and gives NULL. Same
> code also exists in 2.0.3.

Hmmm, that code *is* a bit strange :-)

Will fix right now.

Thanks,

    Matt


--
Matt Chapman
Samba Team



More information about the samba-ntdom mailing list