Closed
Bug 164471
Opened 23 years ago
Closed 23 years ago
passwords are displayed in NSS command-line tools on OS/2
Categories
(NSS :: Libraries, defect, P2)
Tracking
(Not tracked)
VERIFIED
FIXED
3.6
People
(Reporter: julien.pierre, Assigned: wtc)
Details
Attachments
(1 file)
When NSS prompts for the token password, it is echo'ed on OS/2, when it's not
supposed to be.
| Reporter | ||
Updated•23 years ago
|
Priority: -- → P2
Target Milestone: --- → 3.6
| Reporter | ||
Comment 1•23 years ago
|
||
I only put these changes in for the VACPP compiler on OS/2. Presumably EMX
takes care of this in the C library the same way as Unix, so it isn't a problem
there.
| Reporter | ||
Comment 2•23 years ago
|
||
Checking in secpwd.c;
/cvsroot/mozilla/security/nss/cmd/lib/secpwd.c,v <-- secpwd.c
new revision: 1.11; previous revision: 1.10
done
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
| Assignee | ||
Comment 3•23 years ago
|
||
Comment on attachment 96576 [details] [diff] [review]
patch to do hidden input on OS/2, very similar to windows. Checked in
>+#ifndef XP_OS2_VACPP
> if (input != stdin) {
> return fgets(buf,length,input);
> }
>+#else
>+ if (!isatty(fileno(input))) {
>+ return fgets(buf,length,input);
>+ }
>+#endif
It would be more readable to use #ifdef XP_OS2_VACPP
and reverse the two blocks, or use #ifdef _WINDOWS.
Comment 4•23 years ago
|
||
Julien, please verify. Thanks
You need to log in
before you can comment on or make changes to this bug.
Description
•