X2Go Bug report logs - #516
X2go successfully connects to server, but no window is shown

version graph

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

Reported by: sebastien chabrolles <s.chabrolles@fr.ibm.com>

Date: Sat, 14 Jun 2014 20:25:03 UTC

Severity: normal

Tags: pending

Found in version 3.5.0.24

Fixed in version 3.5.0.25

Done: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Bug is archived. No further changes may be made.

Full log


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

Received: (at 516) by bugs.x2go.org; 21 Jun 2014 21:13:00 +0000
From ionic@ionic.de  Sat Jun 21 23:12:59 2014
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham version=3.3.2
Received: from Root24.de (powered.by.root24.eu [91.121.15.64])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTP id F0A3D5DB17
	for <516@bugs.x2go.org>; Sat, 21 Jun 2014 23:12:58 +0200 (CEST)
Received: from nopileos.local (home.ionic.de [85.183.67.131])
	by Root24.de (Postfix) with ESMTPSA id 7D93A3B005CB;
	Sat, 21 Jun 2014 23:12:58 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1403385178; bh=5+UJYm49IpNSa18a+2uzt7eXmzan1rBl4/lZQJT+cVk=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=KryBRd3/2GmIezfmumPAdqnexsa0v2CkGO/iEvQ5rp4ZMfOdJ6K3cjogkWreLFV/k
	 WhoDGzP17XkWE/IgpPmK//J4gwSQwV3gysGoDpHHNgHzi1DS6wp5WDfW14z/A7xOF9
	 JE/82ezBAO4TEcGFoanBtPaJ9/sUpz0dTnrIh3wk=
Message-ID: <53A5F55B.4020000@ionic.de>
Date: Sat, 21 Jun 2014 23:12:59 +0200
From: Mihai Moldovan <ionic@ionic.de>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
MIME-Version: 1.0
To: 516@bugs.x2go.org, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
Subject: Re: [X2Go-Dev] Bug#516: [PATCH 1/5 v2] Create Windows and fix drawing
 issues on Big Endian 64bit systems
References: <OF70D11DD0.EF25FFDA-ONC1257CF7.006F3027-C1257CF7.006FFC35@fr.ibm.com> <53A4F5FE.4000206@ionic.de> <53A4F8DF.30404@ionic.de>
In-Reply-To: <53A4F8DF.30404@ionic.de>
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms090803060900080601090807"
[Message part 1 (text/plain, inline)]
Multiple endiannes issues were setting incorrect event masks when creating and
drawing X11 windows.

This time, a smaller integer has been casted to a bigger one and passed to some
function actually setting its value.

This meant, that garbage from stack was attached to the smaller integer value,
putting unknown memory into the lower bytes of the bigger integer.

Fix this by creating a big, initialized temporary variable, let the function do
its magic on that one and pass the value back to the smaller variable -- and
cross your fingers the smaller variable can hold it without overrunning. (The
last bit is a design issue we can't really fix and has been around even before
this patch.)


This fixes window creation and redrawing/updating issues on Big Endian 64bit
systems.
[nxagent_Screen.c_Window.c-ppc64-et-al-sanitize-eventmasks.patch (text/plain, attachment)]
[smime.p7s (application/pkcs7-signature, attachment)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Sat Apr 20 09:55:17 2024; 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.