Hi Mihai, On Sa 21 Jun 2014 23:12:59 CEST, Mihai Moldovan wrote:
Multiple endiannes issues were setting incorrect event masks when creating anddrawing X11 windows.This time, a smaller integer has been casted to a bigger one and passed to somefunction 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 doits 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. (Thelast bit is a design issue we can't really fix and has been around even beforethis 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...
Mike -- DAS-NETZWERKTEAM mike gabriel, herweg 7, 24357 fleckeby fon: +49 (1520) 1976 148 GnuPG Key ID 0x25771B31 mail: [email protected], http://das-netzwerkteam.de freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
pgpNn0ZTyhCLM.pgp
Description: Digitale PGP-Signatur
_______________________________________________ x2go-dev mailing list [email protected] http://lists.x2go.org/listinfo/x2go-dev
