Bugzilla – Attachment 87 Details for
Bug 220
sshd fails to read other users authorized_keys over nfs as root
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Alternative patch for realpath(); reverse the logic for BROKEN_REALPATH
safe_realpath.patch (text/plain), 1.94 KB, created by
Antti Tapaninen
on 2002-04-23 22:33:43 AEST
(
hide
)
Description:
Alternative patch for realpath(); reverse the logic for BROKEN_REALPATH
Filename:
MIME Type:
Creator:
Antti Tapaninen
Created:
2002-04-23 22:33:43 AEST
Size:
1.94 KB
patch
obsolete
>Index: configure.ac >=================================================================== >RCS file: /cvs/openssh/configure.ac,v >retrieving revision 1.47 >diff -u -r1.47 configure.ac >--- configure.ac 23 Apr 2002 10:23:00 -0000 1.47 >+++ configure.ac 23 Apr 2002 12:35:31 -0000 >@@ -140,7 +140,6 @@ > conf_wtmp_location=/usr/adm/wtmp > MAIL=/usr/spool/mail > AC_DEFINE(HAVE_NEXT) >- AC_DEFINE(BROKEN_REALPATH) > AC_DEFINE(USE_PIPES) > AC_DEFINE(BROKEN_SAVED_UIDS) > CPPFLAGS="$CPPFLAGS -I/usr/local/include" >Index: openbsd-compat/realpath.c >=================================================================== >RCS file: /cvs/openssh/openbsd-compat/realpath.c,v >retrieving revision 1.4 >diff -u -r1.4 realpath.c >--- openbsd-compat/realpath.c 13 Feb 2002 05:00:16 -0000 1.4 >+++ openbsd-compat/realpath.c 23 Apr 2002 12:35:31 -0000 >@@ -29,7 +29,7 @@ > > #include "includes.h" > >-#if !defined(HAVE_REALPATH) || defined(BROKEN_REALPATH) >+#if !defined(HAVE_REALPATH) || !defined(SAFE_REALPATH) > > #if defined(LIBC_SCCS) && !defined(lint) > static char *rcsid = "$OpenBSD: realpath.c,v 1.6 2002/01/12 16:24:35 millert Exp $"; >@@ -163,4 +163,4 @@ > err2: errno = serrno; > return (NULL); > } >-#endif /* !defined(HAVE_REALPATH) || defined(BROKEN_REALPATH) */ >+#endif /* !defined(HAVE_REALPATH) || !defined(SAFE_REALPATH) */ >Index: openbsd-compat/realpath.h >=================================================================== >RCS file: /cvs/openssh/openbsd-compat/realpath.h,v >retrieving revision 1.2 >diff -u -r1.2 realpath.h >--- openbsd-compat/realpath.h 9 Feb 2001 01:55:36 -0000 1.2 >+++ openbsd-compat/realpath.h 23 Apr 2002 12:35:31 -0000 >@@ -5,9 +5,9 @@ > > #include "config.h" > >-#if !defined(HAVE_REALPATH) || defined(BROKEN_REALPATH) >+#if !defined(HAVE_REALPATH) || !defined(SAFE_REALPATH) > > char *realpath(const char *path, char *resolved); > >-#endif /* !defined(HAVE_REALPATH) || defined(BROKEN_REALPATH) */ >+#endif /* !defined(HAVE_REALPATH) || !defined(SAFE_REALPATH) */ > #endif /* _BSD_REALPATH_H */
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 Raw
Actions:
View
Attachments on
bug 220
:
86
| 87