wine/dlls/kernelbase
Zhiyi Zhang 884cff8214 kernelbase: Check if locale is NULL before using it in Internal_EnumDateFormats().
Initialize the calendars variable after checking if locale is NULL before using it to avoid NULL
pointer references. Fix a Excel 2016 crash when formatting dates with the custom format 'ddd'.
It calls EnumDateFormatsExEx() with the 'yi-Hebr' locale, which is added in Win10.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55099
2023-06-30 20:24:42 +02:00
..
tests ntdll: Support MEM_PRESERVE_PLACEHOLDER in NtUnmapViewOfSectionEx(). 2023-05-30 12:12:09 +02:00
console.c kernelbase: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-06-06 21:09:32 +02:00
debug.c kernelbase: Don't define stdcall functions on non-i386. 2023-06-14 18:53:36 +02:00
file.c kernelbase: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-06-06 21:09:32 +02:00
kernelbase.h kernelbase: Allocate global memory handle table dynamically. 2022-04-20 17:51:04 +02:00
kernelbase.rc kernel32: Move the language group resources to kernelbase. 2022-03-31 10:57:07 +02:00
kernelbase.rgs kernelbase: Update timezone data to version 2023c. 2023-06-04 18:25:55 +02:00
kernelbase.spec kernelbase: Move Wow64EnableWow64FsRedirection() from kernel32 to kernelbase. 2023-05-11 22:53:14 +02:00
loader.c kernelbase: Use nameless unions/structs for loader data. 2023-06-06 21:09:32 +02:00
locale.c kernelbase: Check if locale is NULL before using it in Internal_EnumDateFormats(). 2023-06-30 20:24:42 +02:00
main.c kernelbase: Allocate global memory handle table dynamically. 2022-04-20 17:51:04 +02:00
Makefile.in kernelbase: Move to a higher address on 64-bit. 2023-04-22 17:34:32 +02:00
memory.c kernelbase: Use nameless unions/structs for CPU-related data. 2023-06-06 21:09:32 +02:00
path.c kernelbase: Do not parse the hostname of internet URLs if they are missing a double slash. 2022-03-23 18:42:13 +01:00
process.c kernelbase: Use nameless unions/structs for CPU-related data. 2023-06-06 21:09:32 +02:00
registry.c kernelbase: Remove special Wow64 handling for HKEY_CLASSES_ROOT. 2023-03-29 22:29:37 +02:00
security.c ntdll: Fix the prototype of NtDuplicateToken(). 2023-05-08 20:02:26 +02:00
string.c
sync.c kernelbase: Use nameless unions/structs for IO_STATUS_BLOCK. 2023-06-06 21:09:32 +02:00
thread.c kernelbase: Don't define stdcall functions on non-i386. 2023-06-14 18:53:36 +02:00
version.c kernelbase: Use nameless unions/structs for loader data. 2023-06-06 21:09:32 +02:00
volume.c kernelbase: Avoid calling RtlInitUnicodeString on a static constant. 2023-02-15 19:55:12 +01:00
winerror.mc kernel32: Move the error message table to kernelbase. 2022-03-31 10:57:07 +02:00