https://bugs.winehq.org/show_bug.cgi?id=39233
Bug ID: 39233 Summary: setupapi:misc crashes if privileges not high enough Product: Wine Version: unspecified Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: setupapi Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The crash is followed by messages reporting errors:
misc.c:233: Test failed: Expected TRUE, got 0 misc.c:234: Test failed: Expected ERROR_SUCCESS, got 5 misc.c:240: Test failed: Expected TRUE, got 0 misc.c:241: Test failed: Expected ERROR_SUCCESS, got 2 misc.c:248: Test failed: Expected ERROR_FILE_EXISTS, got 5 misc.c:254: Test failed: Expected TRUE, got 0 misc.c:255: Test failed: Expected ERROR_SUCCESS, got 5 misc.c:257: Test failed: Expected destination inf to exist misc.c:258: Test failed: Expected %windir%\inf\OEMx.inf, got þ" misc.c:272: Test failed: Expected ERROR_INSUFFICIENT_BUFFER, got 5 misc.c:275: Test failed: Expected dest inf to exist misc.c:277: Test failed: Expected size to be lstrlen(dest_save) + 1 misc.c:282: Test failed: Expected TRUE, got 0 misc.c:283: Test failed: Expected ERROR_SUCCESS, got 5 misc.c:284: Test failed: Expected sizes to match, got (3, 0) misc.c:285: Test failed: Expected destination inf to exist misc.c:286: Test failed: Expected %windir%\inf\OEMx.inf, got aaa misc.c:288: Test failed: Expected size to be lstrlen(dest_save) + 1 misc.c:116: this is the last test seen before the exception misc: unhandled exception c0000005 at 78409A5F test failed: crash
This crash happens specifically on the following WineTest box: fg-win2000-rusr: Windows 2000 with a Restricted user account
Interestingly it neither crashes nor fails in non-Restricted/Limited user accounts on the following boxes: fg-win2000-susr: Windows 2000 with a Standard (Power) user account. fg-winxp-lusr: Windows XP with a Limited user account. fg-win7u64-1spie9usr: Windows 7 with a regular user account.
See: https://test.winehq.org/data/tests/setupapi:misc.html