[Bug 52961] New: crypt32:str - test_CertGetNameString() fails on Windows 7

WineHQ Bugzilla wine-bugs at winehq.org
Fri May 6 03:16:52 CDT 2022


https://bugs.winehq.org/show_bug.cgi?id=52961

            Bug ID: 52961
           Summary: crypt32:str - test_CertGetNameString() fails on
                    Windows 7
           Product: Wine
           Version: unspecified
          Hardware: x86-64
                OS: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: crypt32
          Assignee: wine-bugs at winehq.org
          Reporter: fgouget at codeweavers.com

crypt32:str - test_CertGetNameString() fails on Windows 7:

str.c:867: Test failed: line 951: unexpected length 10, expected 11.
str.c:871: Test failed: line 951: unexpected value "localhost\x00e".
str.c:885: Test failed: line 951: unexpected len 10, expected 11.
str.c:894: Test failed: line 951: string is not zero terminated.
str.c:867: Test failed: line 952: unexpected length 21, expected 1.
str.c:871: Test failed: line 952: unexpected value "a".
str.c:877: Test failed: line 952: unexpected str[1] 0x72.
str.c:878: Test failed: line 952: str "ric at codeweavers.com", string data
mismatch.
str.c:885: Test failed: line 952: unexpected len 21, expected 1.
str.c:886: Test failed: line 952: unexpected value
L"aric at codeweavers.com\0000".
str.c:892: Test failed: line 952: str L"aric at codeweavers.c", string data
mismatch.
str.c:894: Test failed: line 952: string is not zero terminated.
str.c:867: Test failed: line 953: unexpected length 10, expected 1.
str.c:871: Test failed: line 953: unexpected value "l".
str.c:877: Test failed: line 953: unexpected str[1] 0x6f.
str.c:878: Test failed: line 953: str "ocalhost", string data mismatch.
str.c:885: Test failed: line 953: unexpected len 10, expected 1.
str.c:886: Test failed: line 953: unexpected value L"localhost\0000".
str.c:892: Test failed: line 953: str L"localho", string data mismatch.
str.c:894: Test failed: line 953: string is not zero terminated.
str.c:867: Test failed: line 976: unexpected length 8, expected 19.
str.c:871: Test failed: line 976: unexpected value "ex1.org\x00n.org\x00rs.co".
str.c:885: Test failed: line 976: unexpected len 8, expected 19.
str.c:894: Test failed: line 976: string is not zero terminated.
str.c:867: Test failed: line 978: unexpected length 8, expected 19.
str.c:871: Test failed: line 978: unexpected value "ex3.org\x00n.org\x00rs.co".
str.c:885: Test failed: line 978: unexpected len 8, expected 19.
str.c:894: Test failed: line 978: string is not zero terminated.

https://test.winehq.org/data/patterns.html#crypt32:str

A bisect shows that the failures started with the commit below:

commit 0c35a851cd73247cb95187acc2e22074f9ca09a3
Author: Paul Gofman <pgofman at codeweavers.com>
Date:   Fri Apr 15 14:44:32 2022 +0300

    crypt32: Support CERT_NAME_SEARCH_ALL_NAMES_FLAG in CertGetNameStringW().

    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list