Commit cfc68a96 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

fusion: Align the metadata header pointer on a DWORD boundary.

parent dd9b0edb
......@@ -632,8 +632,8 @@ static HRESULT parse_clr_metadata(ASSEMBLY *assembly)
else if (!lstrcmpA(stream, "#Blob") || !lstrcmpA(stream, "Blob"))
assembly->blobs = (BYTE *)assembly_data_offset(assembly, ofs);
ptr += lstrlenA(stream);
while (!*ptr) ptr++;
ptr += lstrlenA(stream) + 1;
ptr = (BYTE *)(((UINT_PTR)ptr + 3) & ~3); /* align on DWORD boundary */
}
return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment