X2Go Bug report logs - #1112
segfault on missing ssh-key

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: Antonio Russo <antonio.e.russo@gmail.com>

Date: Tue, 15 Nov 2016 13:35:02 UTC

Severity: normal

Tags: pending

Merged with 1119

Found in version 4.0.5.2

Fixed in version 4.1.1.0

Done: X2Go Release Manager X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.x2go.org, X2Go Developers <x2go-dev@lists.x2go.org>:
Bug#1112; Package x2goclient. (Tue, 15 Nov 2016 13:35:02 GMT) (full text, mbox, link).


Acknowledgement sent to Antonio Russo <antonio.e.russo@gmail.com>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.x2go.org>. (Tue, 15 Nov 2016 13:35:02 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Antonio Russo <antonio.e.russo@gmail.com>
To: submit@bugs.x2go.org
Subject: segfault on missing ssh-key
Date: Tue, 15 Nov 2016 08:31:31 -0500
Package: x2goclient
Version: 4.0.5.2

(though, presumably, all versions should be affected)

On line 1100 of src/sshmasterconnection.cpp, consider the line:

> ssh_private_key prkey=privatekey_from_file(my_ssh_session, keyName.toLatin1(), 0,"");

If keyName.toLatin1() is not an existing file, you'll get an invalid pointer free.

This might be a bug in libssh, but it took me an embarrassingly long time to figure
out what was wrong, so others might be similarly confused.

Thanks


Merged 1112 1119 Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Sun, 26 Feb 2017 05:00:02 GMT) (full text, mbox, link).


Added tag(s) pending. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Thu, 02 Mar 2017 08:15:04 GMT) (full text, mbox, link).


Marked as fixed in versions 4.1.0.1. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Thu, 02 Mar 2017 08:15:04 GMT) (full text, mbox, link).


No longer marked as fixed in versions 4.1.0.1. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Sun, 29 Oct 2017 07:20:01 GMT) (full text, mbox, link).


Marked as fixed in versions 4.1.1.0. Request was from Mihai Moldovan <ionic@ionic.de> to control@bugs.x2go.org. (Sun, 29 Oct 2017 07:20:01 GMT) (full text, mbox, link).


Marked Bug as done Request was from X2Go Release Manager X2Go Release Manager <git-admin@x2go.org> to control@bugs.x2go.org. (Sun, 29 Oct 2017 07:50:12 GMT) (full text, mbox, link).


Notification sent to Antonio Russo <antonio.e.russo@gmail.com>:
Bug acknowledged by developer. (Sun, 29 Oct 2017 07:50:12 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.x2go.org> to internal_control@bugs.x2go.org. (Mon, 27 Nov 2017 06:24:02 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sun Sep 15 07:42:55 2019; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.