possible bug in chgpasswd.c/smbdes.c

John E. Malmberg malmberg at Encompasserve.org
Thu Jul 19 18:04:45 GMT 2001


On Thu, 19 Jul 2001, Simo Sorce wrote:
 
> ok, forget it, I've just seen index_i is also of type char, so being
> the buffer 256 bytes long it is not a problem, it will just cycle back
> to 0.

Only for those compilers where char is unsigned!

But since index_i is actually declared an "unsigned char", all should be
well. (At least that is what I see on 2.0.6)


-John
wb8tyw at qsl.network
Personal Opinion Only





More information about the samba-technical mailing list