The segmentation fault seems to occur in auth-pam.c in sshpam_thread on the sshpam_err = pam_authenticate(sshpam_handle, 0); line. I attach truss output as well as gdb traces from the parent and the child. - the segfault only appears on Solaris 2.6, the code runs fine under Solaris 8 and 9 (same configuration) - patch #422, http://bugzilla.mindrot.org/show_bug.cgi?id=647, is applied (although this patch should be irrelevant in our configuration since we do have pam enabled) - the segfault occurs with and without privsep - the segfault does not occur under version 3.6.1p2 (with the same configuration) with the recent patches applied
Created attachment 431 [details] truss output and gdb traces
Created attachment 495 [details] Make PAM_TTY "/dev/ssh" not "ssh" for PAM_TTY_KLUDGE Please try this patch and see if it makes a difference for you.
Hasn't this been discussed before? I thought there was a Solaris patch that fixes the underlying problem.
Yes, but those were different bug reports and different Solaris versions. I was wondering if this one was related.
No reply==closed bug
Mass change of RESOLVED bugs to CLOSED