[PATCH] user32: When converting strings from A->W, ignore handles/resources

Chip Davis cdavis at codeweavers.com
Mon Aug 9 17:03:46 CDT 2021


August 9, 2021 4:55 PM, "Fabian Maurer" <dark.shadow4 at web.de> wrote:

> diff --git a/dlls/user32/tests/msg.c b/dlls/user32/tests/msg.c
> index 9867e319d58..5ea05b156d6 100644
> --- a/dlls/user32/tests/msg.c
> +++ b/dlls/user32/tests/msg.c
> @@ -5991,6 +5991,9 @@ static void test_setwindowpos(void)
>      expect(winY, rc.bottom);
> 
>      DestroyWindow(hwnd);
> +
> +    /* Test invalid text with WM_SETTEXT. This must not crash. */
> +    SendMessageA(GetDesktopWindow(), WM_SETTEXT, 0, (LPARAM)55);

That looks like the wrong place for that. From a botched merge, perhaps?

Chip



More information about the wine-devel mailing list