Pull patch from X.Org bugzilla #7364 from XF4 tree: fix for

potential unaligned access on 64 bit architectures.
This commit is contained in:
matthieu 2007-08-06 16:15:08 +00:00
parent 39d2de7893
commit f1b8f80ce9

View File

@ -1344,7 +1344,7 @@ ProcRenderCompositeGlyphs (ClientPtr client)
{
if (buffer + sizeof (GlyphSet) < end)
{
memcpy(&gs, buffer, sizeof(GlyphSet));
gs = *(CARD32 *) buffer;
glyphSet = (GlyphSetPtr) SecurityLookupIDByType (client,
gs,
GlyphSetType,