[PATCH libXi v2] Force class alignment to a multiple of sizeof(XID).
Peter Hutterer
peter.hutterer at who-t.net
Tue Oct 26 14:39:22 PDT 2010
On Tue, Oct 26, 2010 at 09:59:12AM +0200, Julien Cristau wrote:
> 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>
thanks!
Nicolai, can I please have you tested-by to verify the fix works?
Thanks.
Cheers,
Peter
More information about the xorg-devel
mailing list