From: Sven Baars <sbaars(a)codeweavers.com> This fixes a crash when value_data is equal to 0xdeadbeef. --- dlls/ntdll/tests/reg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c index 952db9f594b..2f008d3156d 100644 --- a/dlls/ntdll/tests/reg.c +++ b/dlls/ntdll/tests/reg.c @@ -2547,7 +2547,7 @@ static NTSTATUS WINAPI query_routine(const WCHAR *value_name, ULONG value_type, ULONG expected_type; trace("Value name: %s\n", debugstr_w(value_name)); - trace("Value data: %s\n", debugstr_w(value_data)); + if (value_data_size) trace("Value data: %s\n", debugstr_w(value_data)); if (!(test->flags & SKIP_NAME_CHECK)) { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/7826