------- Comment #2 from pinskia at gcc dot gnu dot org 2007-11-26 18:13 ------- (In reply to comment #1) > getpass returns a pointer to a static buffer that is overwritten by each call.
Also getpass is not controlled by GCC so this is not a GCC bug. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34237