Sweden-Number/dlls/kernelbase
Arkadiusz Hiler e51ae86937 kernelbase: Fix GetFileVersionInfo*() crashes with malformed resources.
Some Unity games ship with an encrypted Assembly-CSharp.dll, including
the resources directory, yet the engine still calls GetFileVersionInfoSizeW()
on those files. This may results in a page fault when trying to find the
version resource and takes the whole process down.

The change fixes crashes when launching Home Behind 2 and Crown Trick.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50075
Signed-off-by: Arkadiusz Hiler <ahiler@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-03 21:54:45 +01:00
..
tests
Makefile.in
collation.c
console.c
debug.c kernelbase: Implement GetMappedFileNameA/W. 2021-02-11 11:02:26 +01:00
digitmap.c
file.c kernelbase: Support FileEndOfFileInfo in SetFileInformationByHandle. 2021-02-03 21:01:54 +01:00
kernelbase.h
kernelbase.rc
kernelbase.rgs
kernelbase.spec kernelbase: Also export the non-K32 names for the psapi functions. 2021-02-11 10:16:04 +01:00
loader.c
locale.c ntdll: Store the locales in Wine-specific environment variables. 2021-02-28 11:30:37 +01:00
main.c
memory.c
path.c
process.c kernelbase: Use the correct machine type for ARM. 2021-03-03 21:54:44 +01:00
registry.c ntdll: ObjectName should also be used in NtUnloadKey. 2021-02-17 22:21:13 +01:00
security.c
string.c
sync.c kernelbase: Don't use wine/server.h. 2021-02-16 23:01:37 +01:00
thread.c
version.c kernelbase: Fix GetFileVersionInfo*() crashes with malformed resources. 2021-03-03 21:54:45 +01:00
volume.c kernelbase: Reimplement GetVolumeInformation on top of GetVolumeInformationByHandle. 2021-02-17 11:44:05 +01:00