[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
getpass(3) length
From: |
David Rigel |
Subject: |
getpass(3) length |
Date: |
Sat, 23 Sep 2000 04:28:56 -0700 (PDT) |
Hi,
looks like the man page for getpass(3) is not
accurate:
it says getpass stores the introduced password in a
static object of 128 chars length that the caller must
overwrite. However I've found that overwriting data
after the byte 124 generates a segfault. The file
attached shows this. Besides, it looks like getpass
actually supports longer strings (without crashing!!).
I'm really confused. Is it a man issue? Is it my
fault?
Thanks in advance,
David Rigel
NOTE: I'm using Linux Mandrake 7.0
__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/
getpass.c
Description: getpass.c
- getpass(3) length,
David Rigel <=