user32/tests: Use wine_dbgstr_an() to trace malformed Unicode strings.
commit47d492742477e5d0e94b2efda91ef7b405d34300
authorFrancois Gouget <fgouget@codeweavers.com>
Wed, 21 Dec 2022 15:11:31 +0000 (21 16:11 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 25 Jan 2023 09:07:19 +0000 (25 10:07 +0100)
treea1a351468a1a197c3b6544a0a3f2ba092b4a672f
parent25d6c1a3b497c1530b4ed2c769ec5728b7c006bc
user32/tests: Use wine_dbgstr_an() to trace malformed Unicode strings.

Using wine_dbgstr_wn() causes out-of-bounds memory accesses when given
Unicode strings with odd sizes, most obviously 1 byte strings.
Also trace the expected Ansi string for round-trip tests.
dlls/user32/tests/clipboard.c