Bug #3974: Fix unaligned memory access on LP64. (Matthieu Herrb)

This commit is contained in:
Adam Jackson 2005-08-28 19:47:39 +00:00
parent 0926cf79c0
commit 20813d3af0

View File

@ -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,