Re: [Cpu-users] CPU, debian, and some bug reports...
Brought to you by:
matheny
From: Blake M. <bma...@pu...> - 2003-10-14 09:39:53
|
Well, I implemented the local getpass function but the only places I was using it were in src/plugins/ldap/commandline.c. I didn't make the change in the getHash function, in src/util/hash.c where the libcrack password ask loop occurs. The reason this change wasn't made, is I didn't realize there was a bug with the ctrl-c/ctrl-d there :-) I was fixing a bug where certain versions of GNU getpass overwrote the static buffer used for the password, so multiple invocations of getpass would overwrite each other. So that fix went into 1.4.2, and not the ctrl-c/ctrl-d fix, which will be in 1.4.3. -Blake Whatchu talkin' 'bout, Willis? > On Mon, Oct 13, 2003 at 01:33:38PM -0500, Blake Matheny wrote: > > Hi, > > > > #215437: cpu: can not abort at password prompt > > > When creating an account using cpu it can prompt for a bad > > > password. > > > I would like to abort at that point, but that is not possible: > > > both ctrl-c and ctrl-d result in a ' is a bad password: it's > > > WAY too short' message and another password prompt. The only way > > > out is to kill cpu from another shell. > > Fixed in CVS, not in 1.4.2. This was a problem with GNU getpass, CVS has its > > own version (CPU_getpass) which respects signals, which is now used here as > > well as in other places that used getpass. > > > > About this bug... The changelog for 1.4.2 says: > > 2003-09-26 Blake Matheny <bma...@pu...> > * src/util/hash.c, src/include/util/util.h: Implemented CPU_getpass > which replicates the functionality of getpass but doesn't use a > static buffer > * src/plugins/ldap/commandline.c: Use CPU_getpass instead of getpass > > You said the bug has been fixed by this change, but it is not fixed in 1.4.2. > Is this because of some changes to CPU_getpass which are still in CVS only? > > Thanks, > > Guido > > > > ------------------------------------------------------- > This SF.net email is sponsored by: SF.net Giveback Program. > SourceForge.net hosts over 70,000 Open Source Projects. > See the people who have HELPED US provide better services: > Click here: http://sourceforge.net/supporters.php > _______________________________________________ > Cpu-users mailing list > Cpu...@li... > https://lists.sourceforge.net/lists/listinfo/cpu-users -- Blake Matheny "... one of the main causes of the fall of the bma...@pu... Roman Empire was that, lacking zero, they had http://www.mkfifo.net no way to indicate successful termination of http://ovmj.org/GNUnet/ their C programs." --Robert Firth |