Bug #3974: Fix unaligned memory access on LP64. (Matthieu Herrb)
This commit is contained in:
parent
0926cf79c0
commit
20813d3af0
|
@ -1340,7 +1340,7 @@ ProcRenderCompositeGlyphs (ClientPtr client)
|
|||
{
|
||||
if (buffer + sizeof (GlyphSet) < end)
|
||||
{
|
||||
gs = *(GlyphSet *) buffer;
|
||||
memcpy(&gs, buffer, sizeof(GlyphSet));
|
||||
glyphSet = (GlyphSetPtr) SecurityLookupIDByType (client,
|
||||
gs,
|
||||
GlyphSetType,
|
||||
|
|
Loading…
Reference in New Issue