Yep that is the problem I was seeing with one program I'm running. And this
patch took care of it. Thanks!
Vitaliy Margolen
Tuesday, December 2, 2003, 13:01:18, Vitaliy Margolen wrote:
> Hi, found a problem with the latest locale changes. When it calls the
> GetLocaleInfoW() function, the attached error occurs.
> This occurred because of the new code using the LOCALE_RETURN_NUMBER flag. The
> problem is if the buffer supplied to get_registry_locale_info is quite small
> (say sizeof(INT)). The value returned by NtQueryValueKey() however, is for a
> string, and is much longer. As NtQueryValueKey updates the value of size,
> this caused other parts of the code to corrupt memory.