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@winehq.org Reporter: fgouget@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@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@codeweavers.com\0000". str.c:892: Test failed: line 952: str L"aric@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@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@winehq.org
https://bugs.winehq.org/show_bug.cgi?id=52961
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, source, | |testcase Regression SHA1| |0c35a851cd73247cb95187acc2e | |22074f9ca09a3
https://bugs.winehq.org/show_bug.cgi?id=52961
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |pgofman@codeweavers.com
https://bugs.winehq.org/show_bug.cgi?id=52961
--- Comment #1 from Paul Gofman pgofman@codeweavers.com --- Turns out CERT_NAME_SEARCH_ALL_NAMES_FLAG is supported since Windows 8. I will send a fix to the test.
https://bugs.winehq.org/show_bug.cgi?id=52961
--- Comment #2 from Paul Gofman pgofman@codeweavers.com --- Should be fixed by fc4067a2ac897c8252a61c2e29bdddfab9f0e176.
https://bugs.winehq.org/show_bug.cgi?id=52961
François Gouget fgouget@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |fc4067a2ac897c8252a61c2e29b | |dddfab9f0e176
--- Comment #3 from François Gouget fgouget@codeweavers.com --- Yes, this is not happening anymore. Thanks.
https://bugs.winehq.org/show_bug.cgi?id=52961
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.9.