Huw Davies huw@codeweavers.com wrote:
- if (size.u.LowPart < sizeof( *dos )) goto fail;
Testing LowPart only could not work for large sizes.
Of course, but we don't care if very large files fail, they won't be genuine resource files anyway.
Then returning 64-bit sizes doesn't make sence, and large sizes should be detected and rejected.