https://bugs.winehq.org/show_bug.cgi?id=44161
Bug ID: 44161 Summary: Possible incorrect string message in "dlls/kernel32/tests/volume.c" line 263 Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: petrum@gmail.com Distribution: ---
While experimenting with a CodeSonar plugin we develop, we automatically detected a potential bug in file "dlls/kernel32/tests/volume.c" line 263, function test_GetVolumeNameForVolumeMountPointW
if (!pGetVolumeNameForVolumeMountPointW) { win_skip("GetVolumeNameForVolumeMountPointW not found\n"); return; }
ret = pGetVolumeNameForVolumeMountPointW(path, volume, 0); ok(ret == FALSE, "GetVolumeNameForVolumeMountPointA succeeded\n"); //HERE ok(GetLastError() == ERROR_FILENAME_EXCED_RANGE || GetLastError() == ERROR_INVALID_PARAMETER, /* Vista */ "wrong error, last=%d\n", GetLastError());
Shouldn't the string be "GetVolumeNameForVolumeMountPoint[W] succeeded\n" (i.e. with a 'W' instead of 'A')?
Thanks, Petru Florin Mihancea
https://bugs.winehq.org/show_bug.cgi?id=44161
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gijsvrm@gmail.com
--- Comment #1 from Gijs Vermeulen gijsvrm@gmail.com --- Fixed by https://source.winehq.org/git/wine.git/commit/c49e306cac098cc483a57405c4134f...
https://bugs.winehq.org/show_bug.cgi?id=44161
Hans Leidekker hans@meelstraat.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |c49e306cac098cc483a57405c41 | |34fb191b6a3eb
--- Comment #2 from Hans Leidekker hans@meelstraat.net --- Resolving.
https://bugs.winehq.org/show_bug.cgi?id=44161
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.0-rc4.