[X2Go-Dev] Bug#516: Bug#516: [PATCH 1/5 v2] Create Windows and fix drawing issues on Big Endian 64bit systems
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Sat Jun 21 23:41:45 CEST 2014
Hi Mihai,
On Sa 21 Jun 2014 23:35:26 CEST, Mihai Moldovan wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> * On 21.06.2014 11:23 pm, Mike Gabriel wrote:
>> Hi Mihai,
>>
>> On Sa 21 Jun 2014 23:12:59 CEST, Mihai Moldovan wrote:
>>
>>> 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.
>>
>> Fixed patch included. However, unfortunately I forgot to rebase
>> before pushing...
>
> Thanks, Mike!
>
> Unfortunately the "057_nx-X11-bigendian-ppc64-no-session-window.full.patch"
> description is still the "old" one. Mind updating that?
Done.
Mike
--
DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148
GnuPG Key ID 0x25771B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20140621/4592c28c/attachment-0001.pgp>
More information about the x2go-dev
mailing list