[Bug 2236] New: ssh-agent: fix unintended UNIX-domain socket removal
bugzilla-daemon at mindrot.org
bugzilla-daemon at mindrot.org
Fri Apr 25 06:39:50 EST 2014
https://bugzilla.mindrot.org/show_bug.cgi?id=2236
Bug ID: 2236
Summary: ssh-agent: fix unintended UNIX-domain socket removal
Product: Portable OpenSSH
Version: 6.6p1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: ssh-agent
Assignee: unassigned-bugs at mindrot.org
Reporter: ldv at altlinux.org
Created attachment 2432
--> https://bugzilla.mindrot.org/attachment.cgi?id=2432&action=edit
proposed fix
ssh-agent sometimes forks child processes. For example,
ask_permission() may fork a child process to execute an askpass
program.
If it fails to execute, the child process exits using fatal(), which in
turn calls cleanup_exit(), and the latter calls cleanup_socket(). As
result, an error in child process causes unintended UNIX-domain socket
removal. The fix is to record pid of the process that is responsible
for socket cleanup, and skip this cleanup for other processes.
--
You are receiving this mail because:
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list