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 kernelbase: Use wide-char string literals. 2020-11-26 12:36:53 +01:00
Makefile.in include: Use proper dllimports for kernel32 functions. 2020-11-24 18:41:13 +01:00
collation.c
console.c kernelbase: Remove no longer needed console handle mapping. 2020-12-01 19:50:30 +01:00
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: Remove no longer needed console handle mapping. 2020-12-01 19:50:30 +01:00
kernelbase.rc
kernelbase.rgs nls: Build codepage data for CP708. 2020-10-09 17:22:56 +02:00
kernelbase.spec kernelbase: Also export the non-K32 names for the psapi functions. 2021-02-11 10:16:04 +01:00
loader.c kernelbase: Align stack in GetProcAddress() on x64. 2020-10-27 20:30:31 +01:00
locale.c ntdll: Store the locales in Wine-specific environment variables. 2021-02-28 11:30:37 +01:00
main.c kernelbase: Copy MulDiv() implementation instead of forwarding. 2020-11-13 13:18:53 +01:00
memory.c kernelbase: Implement VirtualAlloc2. 2020-10-26 20:35:42 +01:00
path.c kernelbase: Use wide-char string literals. 2020-11-26 12:36:53 +01:00
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