mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Be compatible with some of the crap apps out there
svn path=/trunk/; revision=13497
This commit is contained in:
parent
1a4bf3f6f5
commit
6d7d3aaff6
1 changed files with 3 additions and 0 deletions
|
@ -649,8 +649,11 @@ l_ReadHeaderFromFile:
|
|||
if(pishSectionHeaders[i].SizeOfRawData != 0)
|
||||
{
|
||||
/* validate the alignment */
|
||||
#if 0 /* Yes, this should be a multiple of FileAlignment, but there's
|
||||
stuff out there that isn't. We can cope with that */
|
||||
if(!IsAligned(pishSectionHeaders[i].SizeOfRawData, nFileAlignment))
|
||||
DIE(("SizeOfRawData[%u] is not aligned\n", i));
|
||||
#endif
|
||||
|
||||
if(!IsAligned(pishSectionHeaders[i].PointerToRawData, nFileAlignment))
|
||||
DIE(("PointerToRawData[%u] is not aligned\n", i));
|
||||
|
|
Loading…
Reference in a new issue