[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in mntlib44's getpass.c?!?



 Hi!

 There seems to be a bug/feature in the getpass.c code of the current Mintlib.
The problem is that it only reads PASS_MAX+1 chars, but the +1 is only enough
to hold the terminating #0. So if you have want to read passwords with 8 chars,
you won't be able to hit return/enter, because the routine exists earlier.
It's not something terribly bad, but annoying. If you replace the two
occurences of PASS_MAX+1 with PASSMAX+2, everything looks fine again.

 It happened to me when using Steve's (hi! :-) MintOS 1.3 package. Obviously,
because he now uses the library routines for the BSD sources, where the old
1.2 used its own routines...

ciao,
TeSche
--
Torsten Scherer (TeSche, Schiller...)
Faculty of Technology, University of Bielefeld, Germany, Europe, Earth...
| Use any of "finger itschere@129.70.131.2-15" for adresses and more.	|
| Last updated: 14. April 1994.						|