Re: cvs-1.10.8: password length bug under Solaris 2.6

2000-08-01 Thread Larry Jones

Maciek Uhlig writes:
> 
> In order to fix this I suggest to change getpass(3C) to getpassphrase(3C)
> which accepts max 255 chars while compiling under Solaris. I fixed it in the
> source and it works.

I've checked in a fix for this.  (What moron at Sun decided to add a
whole new function instead of just enhancing the existing one?!?)

-Larry Jones

Girls are so weird. -- Calvin




cvs-1.10.8: password length bug under Solaris 2.6

2000-07-30 Thread Maciek Uhlig

Hi,

there is a problem with long (i.e. longer than 8 chars) passwords with
cvs-1.10.8 under Solaris 2.6.

When the cvs password is longer than 8 chars one can't login into cvs.

The reason is getpass(3C) used in login.c. It accepts 8 characters only and
therefore only first 8 chars of the password are sent to the server.

In order to fix this I suggest to change getpass(3C) to getpassphrase(3C)
which accepts max 255 chars while compiling under Solaris. I fixed it in the
source and it works.

Maciek Uhlig
Computer Center, University of Silesia, Katowice, Poland