Bugzilla – Attachment 3281 Details for
Bug 3008
pam_putenv used regardless of whether or not it is available
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible patch
openssh.patch (text/plain), 1.08 KB, created by
The Written Word
on 2019-05-14 08:03:09 AEST
(
hide
)
Description:
Possible patch
Filename:
MIME Type:
Creator:
The Written Word
Created:
2019-05-14 08:03:09 AEST
Size:
1.08 KB
patch
obsolete
>Index: configure.ac >=================================================================== >--- configure.ac.orig 2019-05-13 21:08:48.997782363 +0000 >+++ configure.ac 2019-05-13 21:08:48.979076914 +0000 >@@ -1569,7 +1569,7 @@ > LIBEDIT=`$PKGCONFIG --libs libedit` > CPPFLAGS="$CPPFLAGS `$PKGCONFIG --cflags libedit`" > else >- LIBEDIT="-ledit -lcurses" >+ LIBEDIT="-ledit" > fi > OTHERLIBS=`echo $LIBEDIT | sed 's/-ledit//'` > AC_CHECK_LIB([edit], [el_init], >@@ -3742,7 +3742,12 @@ > > AC_CHECK_TYPES([intmax_t, uintmax_t], , , [ > #include <sys/types.h> >+#ifdef HAVE_INTTYPES_H >+#include <inttypes.h> >+#endif >+#ifdef HAVE_STDINT_H > #include <stdint.h> >+#endif > ]) > > TYPE_SOCKLEN_T >Index: auth-pam.c >=================================================================== >--- auth-pam.c.orig 2019-04-17 22:52:57.000000000 +0000 >+++ auth-pam.c 2019-05-13 22:01:36.073723738 +0000 >@@ -724,8 +724,10 @@ > sshpam_handle = NULL; > return (-1); > } >+#ifdef HAVE_PAM_PUTENV > /* Put SSH_CONNECTION in the PAM environment too */ > pam_putenv(sshpam_handle, sshpam_conninfo); >+#endif > } > > #ifdef PAM_TTY_KLUDGE
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
Actions:
View
|
Diff
Attachments on
bug 3008
: 3281 |
3282