Displaying 6 results from an estimated 6 matches for "ssh_selinux_setfscreatecon".
2011 Jan 27
6
[Bug 1851] New: ssh_selinux_setfscreatecon segfaults if SELinux support is compiled in but is disabled at run-time
https://bugzilla.mindrot.org/show_bug.cgi?id=1851
Summary: ssh_selinux_setfscreatecon segfaults if SELinux
support is compiled in but is disabled at run-time
Product: Portable OpenSSH
Version: 5.7p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component:...
2011 Feb 11
0
openssh-5.8p1 does not compille with --with-selinux
Hi
there is unpaired brackets in port_linux_compat.c in ssh_selinux_setfscreatecon
if (path == NULL)
setfscreatecon(NULL);
return;
}
--
JFCh <jchadima at redhat.com>
2011 Mar 31
1
[v1 PATCH 0/1] Review request for a memory leak fix for openssh
----------------------------------------------------
Summary: fix a memory leak for Openssh
----------------------------------------------------
Upstream Project Name: OpenSSH
Upstream Project URL: anoncvs at anoncvs.mindrot.org:/cvs
Applies to: anoncvs at anoncvs.mindrot.org:/cvs
Brief Description: the memory which is allocated by matchpathcon should be freed after it is used
Will Submit to:
2011 Mar 31
0
[v1 PATCH 1/1] Free memory
...located by matchpathcon should be
freed after it is used
Signed-off-by: Roy Li <rongqing.li at windriver.com>
---
openbsd-compat/port-linux.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/openbsd-compat/port-linux.c
+++ b/openbsd-compat/port-linux.c
@@ -217,8 +217,10 @@ ssh_selinux_setfscreatecon(const char *p
setfscreatecon(NULL);
return;
}
- if (matchpathcon(path, 0700, &context) == 0)
+ if (matchpathcon(path, 0700, &context) == 0) {
setfscreatecon(context);
+ freecon(context);
+ }
}
#endif /* WITH_SELINUX */
2011 May 20
0
[patch] the memory which is allocated by matchpathcon should be freed after it is useless
...ed by matchpathcon should be
freed after it is useless
Signed-off-by: Roy Li <rongqing.li at windriver.com>
---
openbsd-compat/port-linux.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
--- a/openbsd-compat/port-linux.c
+++ b/openbsd-compat/port-linux.c
@@ -217,8 +217,10 @@ ssh_selinux_setfscreatecon(const char *p
setfscreatecon(NULL);
return;
}
- if (matchpathcon(path, 0700, &context) == 0)
+ if (matchpathcon(path, 0700, &context) == 0) {
setfscreatecon(context);
+ freecon(context);
+ }
}
#endif /* WITH_SELINUX */
2011 Feb 04
1
Announce: OpenSSH 5.8 released
OpenSSH 5.8 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.
OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.
Once again, we would like to thank the OpenSSH community for their
continued support of the project, especially those who contributed
code or patches,