-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usersys.c:_cupsGetPassword() on various sysV systems AIX,HPUX.. not doing single char IO for password prompts #4750
Comments
CUPS.org User: gcscups mark@zed> cat 0001-MG20160102-fix-getpass-for-hpux-aix-sun.patch cups/usersys.c | 37 +++++++++++++++++++++++++++++++++++++ diff --git a/cups/usersys.c b/cups/usersys.c
if (tcsetattr(tty, TCSAFLUSH, &noecho))
|
CUPS.org User: mike Confirmed, though strange that these OS's default to a VMIN > 1. |
"str4750.patch": Index: cups/usersys.c--- cups/usersys.c (revision 13026) noecho = original;
if (tcsetattr(tty, TCSAFLUSH, &noecho)) for (start = temp; *start; start = end)
|
CUPS.org User: mike Fixed in Subversion repository. |
Version: 2.1-current
CUPS.org User: gcscups
This applies to all versions of cups. When prompting for password its using 4 chars before accepting input instead of single char IO. Its wrong for at least AIX, HPUX and Solaris SunOS
I have a fix for this
The text was updated successfully, but these errors were encountered: