mirror of
https://github.com/openbsd/xenocara.git
synced 2025-12-09 10:48:48 +00:00
Pull patch from X.Org bugzilla #7364 from XF4 tree: fix for
potential unaligned access on 64 bit architectures.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user