diff options
-rw-r--r-- | debian/changelog | 2 | ||||
-rw-r--r-- | openbsd-compat/port-linux.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 0b688f8ca..5fbc487b5 100644 --- a/debian/changelog +++ b/debian/changelog | |||
@@ -35,6 +35,8 @@ openssh (1:5.2p1-1) UNRELEASED; urgency=low | |||
35 | * Add debian/README.source with instructions on bzr handling. | 35 | * Add debian/README.source with instructions on bzr handling. |
36 | * Make ChrootDirectory work with SELinux (thanks, Russell Coker; closes: | 36 | * Make ChrootDirectory work with SELinux (thanks, Russell Coker; closes: |
37 | #556644). | 37 | #556644). |
38 | * Initialise sc to NULL in ssh_selinux_getctxbyname (thanks, Václav Ovsík; | ||
39 | closes: #498684). | ||
38 | 40 | ||
39 | -- Colin Watson <cjwatson@debian.org> Thu, 12 Nov 2009 21:31:44 +0000 | 41 | -- Colin Watson <cjwatson@debian.org> Thu, 12 Nov 2009 21:31:44 +0000 |
40 | 42 | ||
diff --git a/openbsd-compat/port-linux.c b/openbsd-compat/port-linux.c index b7142ba90..9cb58e369 100644 --- a/openbsd-compat/port-linux.c +++ b/openbsd-compat/port-linux.c | |||
@@ -69,7 +69,7 @@ ssh_selinux_enabled(void) | |||
69 | static security_context_t | 69 | static security_context_t |
70 | ssh_selinux_getctxbyname(char *pwname) | 70 | ssh_selinux_getctxbyname(char *pwname) |
71 | { | 71 | { |
72 | security_context_t sc; | 72 | security_context_t sc = NULL; |
73 | char *sename = NULL, *role = NULL, *lvl = NULL; | 73 | char *sename = NULL, *role = NULL, *lvl = NULL; |
74 | int r; | 74 | int r; |
75 | 75 | ||