https://bugs.winehq.org/show_bug.cgi?id=52129
Bug ID: 52129 Summary: EnumCalendarInfo hangs indefinitely when iterating over optional calendars Product: Wine Version: 6.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: jinoh.kang.kr@gmail.com CC: julliard@winehq.org Regression SHA1: 42ed9797b1929fc5917bd967f7062cab953fab55 Distribution: ---
Internal_EnumCalendarInfo fails to exit enumeration loop if all of the following conditions are met:
- ENUM_ALL_CALENDARS is specified for calendar ID.
- An optional calendar exists for the current locale, which is one of: Arabic, Chinese, Divehi, Persian, Hebrew, Japanese, Korean, Thai, Urdu.
- The enumerator callback function never returns FALSE.
This results in some .NET Framework 4.8 apps to hang when using certain locale functions.