On Fri, 06 Jan 2006 22:41:00 -0500, you wrote:
The set last error function added to GetMenuStringA and GetMenuStringW removed this check which seems to be still needed. if (!IS_STRING_ITEM(item->fType)) return 0;
I have tried several times to make a patch of the changes required but I get a lot of white space changes.
Hi Paul,
Here is a better fix (because it does not make any regression test fail). Let me know if it works for you too.
Changelog: dlls/user : menu.c dlls/user/tests : menu.c Prevent a crash in GetMenuStringA caused by calling strlenW on a NULL pointer, with a test.
Rein.