[PATCH libXi v2] Force class alignment to a multiple of sizeof(XID).
Julien Cristau
jcristau at debian.org
Tue Oct 26 00:59:12 PDT 2010
On Tue, Oct 26, 2010 at 10:02:02 +1000, Peter Hutterer wrote:
> Calculate length field to a multiples of sizeof(XID). XIDs are typedefs
> to ulong and thus may be 8 bytes on some platforms. This can trigger a
> SIGBUS if a class ends up not being 8-aligned (e.g. after XAxisInfo).
>
> Reported-by: Nicolai Stange <nicolai.stange at zmaw.de>
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
Reviewed-by: Julien Cristau <jcristau at debian.org>
Cheers,
Julien
More information about the xorg-devel
mailing list