Launchpad has imported 6 comments from the remote bug at
https://bugzilla.mindrot.org/show_bug.cgi?id=1851.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2011-01-27T12:09:38+00:00 Colin Watson wrote:

Created attachment 1984
more error checks in ssh_selinux_setfscreatecon

The Debian/Ubuntu OpenSSH packages are compiled with SELinux support,
but SELinux isn't necessarily available at run-time.  If it's
unavailable, then ssh_selinux_setfscreatecon may crash because it does
not either (a) check ssh_selinux_enabled or (b) check the return value
of matchpathcon.  I suspect it should do both, although I'm not sure
whether any error message is necessary if matchpathcon fails - does this
just mean that the configuration doesn't specify any particular context?
(I'm not an SELinux expert.)

Patch attached which at least clears up the crash.

(BTW, the indentation in ssh_selinux_setfscreatecon is non-standard.)

Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/6

------------------------------------------------------------------------
On 2011-01-27T23:26:17+00:00 Djm wrote:

Patch applied - thanks.

Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/8

------------------------------------------------------------------------
On 2011-02-04T11:39:40+00:00 Leonardo-3 wrote:

This patch* was misapplied and causes a syntax error when building 5.8p1
with SELinux enabled.

* http://hg.mindrot.org/openssh/rev/8611ccf82385

Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/9

------------------------------------------------------------------------
On 2011-02-04T11:40:41+00:00 Leonardo-3 wrote:

Created attachment 1991
openssh-5.8p1-syntex-error.diff

Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/10

------------------------------------------------------------------------
On 2011-02-06T02:25:34+00:00 Dtucker wrote:

Applied, thanks.

Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/11

------------------------------------------------------------------------
On 2011-09-06T05:32:49+00:00 Djm wrote:

close resolved bugs now that openssh-5.9 has been released

Reply at: https://bugs.launchpad.net/openssh/+bug/708571/comments/12


** Changed in: openssh
       Status: Unknown => Fix Released

** Changed in: openssh
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openssh in Ubuntu.
https://bugs.launchpad.net/bugs/708571

Title:
  ssh client segmentation fault

To manage notifications about this bug go to:
https://bugs.launchpad.net/openssh/+bug/708571/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to