FreeBSD Bugzilla – Attachment 165266 Details for
Bug 204823
security/sshpass: can't open /dev/tty
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
fix to this issue
patch-main.c (text/plain), 436 bytes, created by
crowx
on 2016-01-08 14:54:53 UTC
(
hide
)
Description:
fix to this issue
Filename:
MIME Type:
Creator:
crowx
Created:
2016-01-08 14:54:53 UTC
Size:
436 bytes
patch
obsolete
>--- main.c.orig 2011-08-06 07:04:33 UTC >+++ main.c >@@ -265,6 +265,9 @@ int runprogram( int argc, char *argv[] ) > setsid(); > // This line makes the ptty our controlling tty. We do not otherwise need it open > slavept=open(name, O_RDWR ); >+ if ( ioctl(slavept, TIOCSCTTY, NULL) ) { >+ perror("sshpass: Failed to recover the controlling tty"); >+ } > close( slavept ); > > close( masterpt );
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
koobs
:
maintainer-approval?
(
gaod
)
Actions:
View
|
Diff
Attachments on
bug 204823
:
163540
|
163541
| 165266 |
165710