You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2011/02/15 13:19:20 UTC
DO NOT REPLY [Bug 49496] Password (getpass()) truncation issue on
HP-UX in apr-0.9.18 (till 1.4.2)
https://issues.apache.org/bugzilla/show_bug.cgi?id=49496
--- Comment #1 from Guenter Knauf <ef...@gmx.net> 2011-02-15 07:19:16 EST ---
Rajesh,
(In reply to comment #0)
> The recommended password reading API on HP-UX is getpasswd() defined in libsec.
> I would like to request apr developers to resolve the apr issue on HP-UX by
> either of following methods,
>
> - On HP-UX, always use apr internal getpass() / apr_getpass().
> - On HP-UX, configure should check for getpasswd() available in libsec library.
unfortunately I wasnt able to find a prototype for HP-UX getpasswd(),
also seems its API is inconsistent, f.e. I found this:
http://www.ucolick.org/~will/RUE/super/WhatsNew
B. Fix for HP-UX 11.0 with tcb enabled: the argument list of the
(undocumented but essential) getpasswd() function has changed
between 10.20 and 11.0.
therefore I went with your 1st suggestion and commited a fix to APR trunk:
http://svn.apache.org/viewvc?view=revision&revision=1070855
unless someone objects I will soon backport this fix to 1.4.x, 1.3.x and 0.9.x.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org