Pull patch from X.Org bugzilla #7364 from XF4 tree: fix for
potential unaligned access on 64 bit architectures.
This commit is contained in:
parent
39d2de7893
commit
f1b8f80ce9
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user