[Bug 44161] New: Possible incorrect string message in "dlls/kernel32/tests /volume.c" line 263
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Dec 12 04:09:33 CST 2017
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 at winehq.org
Reporter: petrum at 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
--
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