fusion: Align the metadata header pointer on a DWORD boundary.
This commit is contained in:
parent
dd9b0edb6f
commit
cfc68a96c7
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue