[Bug 41395] New: CreateFile returns a wrong LastError Code when you pass an invalid path
https://bugs.winehq.org/show_bug.cgi?id=41395 Bug ID: 41395 Summary: CreateFile returns a wrong LastError Code when you pass an invalid path Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs(a)winehq.org Reporter: Christoph(a)ApiViewer.de Distribution: --- CreateFile returns a wrong LastError Code when you pass an invalid path. Testcase: CreateFileA("C:C:\\Windows", GENERIC_READ, FILE_SHARE_READ, NULL, OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL); todo_wine ok( GetLastError() == ERROR_INVALID_NAME, "Wrong LastError %d, expected ERROR_INVALID_NAME\n", GetLastError() ); Which also means the code in cryptnet_main:1025 to line 1048 must be wrong. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41395 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |winetest(a)luukku.com --- Comment #1 from winetest(a)luukku.com --- Could you form a patch and send it over wine-devel/patches? -- 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.
https://bugs.winehq.org/show_bug.cgi?id=41395 Gijs Vermeulen <gijsvrm(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase Ever confirmed|0 |1 Status|UNCONFIRMED |NEW --- Comment #2 from Gijs Vermeulen <gijsvrm(a)gmail.com> --- Still present with wine-8.13. The testcase was added here: https://gitlab.winehq.org/wine/wine/-/commit/82856af5fafa3cdcf6410be24d77382... -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla