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 #35 received at 516@bugs.x2go.org (full text, mbox, reply):

Received: (at 516) by bugs.x2go.org; 21 Jun 2014 03:15:44 +0000
From ionic@ionic.de  Sat Jun 21 05:15:44 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 D7FC05DB3E
	for <516@bugs.x2go.org>; Sat, 21 Jun 2014 05:15:43 +0200 (CEST)
Received: from nopileos.local (home.ionic.de [85.183.67.131])
	by Root24.de (Postfix) with ESMTPSA id 2B0843B005CF;
	Sat, 21 Jun 2014 05:15:43 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=ionic.de; s=default;
	t=1403320543; bh=LzHHXlPeQ3Vo3Ui/BW+aNoZGAKvZ0n5q/El7qiURK1Y=;
	h=Date:From:To:Subject:References:In-Reply-To:From;
	b=WRBs11s0+6SFolyhutZblC59z0AhDs/4MAXSE2XshYFoYTJQQDE9aZBujfdwHtoA9
	 wGfNj1BfkAJ/dQ8y3pSc/JEmDLOvcjm5rzxVdDtfyXDsnI4ly8uN3hG+C6mYtJr/0r
	 /X1sJc+oln9gGMFS9KP5e7bNjGJLWWYWraGmOSGY=
Message-ID: <53A4F8DF.30404@ionic.de>
Date: Sat, 21 Jun 2014 05:15:43 +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] Create Windows on Big Endian
 64bit systems
References: <OF70D11DD0.EF25FFDA-ONC1257CF7.006F3027-C1257CF7.006FFC35@fr.ibm.com> <53A4F5FE.4000206@ionic.de>
In-Reply-To: <53A4F5FE.4000206@ionic.de>
X-Enigmail-Version: 1.6
Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha1; boundary="------------ms050909080704070505000606"
[Message part 1 (text/plain, inline)]
An endiannes issue was setting incorrect event masks when creating 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.)



Mihai
[nxagent_Window.c-ppc64-create-windows.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: Thu Nov 21 15:11:02 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.