]> granicus.if.org Git - curl/commit
getpass_r: read from stdin, not stdout!
authorDaniel Stenberg <daniel@haxx.se>
Mon, 2 Feb 2015 23:30:45 +0000 (00:30 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 2 Feb 2015 23:30:45 +0000 (00:30 +0100)
commit859a82a85cc0a1ea6dff496b3542beda0b06f933
tree34107f67bc124e9f0f2329924774355256c81263
parent8f369c53cf0bb94d9ef939153d6da51b364894ea
getpass_r: read from stdin, not stdout!

The file number used was wrong. This bug was introduced over 10 years
ago, proving this function isn't used much...

Bug: http://curl.haxx.se/bug/view.cgi?id=1476
Reported-by: Tamir
src/tool_getpass.c