https://bugs.winehq.org/show_bug.cgi?id=40344
Bug ID: 40344 Summary: shell32:assoc regression (privilege issue) Product: Wine Version: 1.9.3 Hardware: x86 OS: Windows Status: NEW Severity: normal Priority: P2 Component: shell32 Assignee: wine-bugs@winehq.org Reporter: fgouget@codeweavers.com
The commit below introduces new failures / crashes when it is run without elevated privileges.
For instance the fg-win7u64-1spie9adm (Widnows 7 Ultimate, administrator account without elevated privileges) and fg-win7u64-1spie9usr VMs (same but in regular user account) gets 4 new failures and a crash: assoc.c:153: Test failed: RegCreateKeyExW(HKCR, ".test") failed: 0x5 assoc.c:155: Test failed: RegSetValueExW(HKCR.test, NULL, "testfile") failed: 0x6 assoc.c:159: Test failed: RegCreateKeyExW(HKCR, "testfile") failed: 0x5 assoc.c:113: Test failed: line 162: IQueryAssociations::Init failed, 0x80070057 assoc.c:113: this is the last test seen before the exception assoc: unhandled exception c0000005 at 75EFE3E6 test failed: crash
While the fg-winxp-lusr VM (Windows XP SP3+Limited user account) gets 17 new failures: assoc.c:153: Test failed: RegCreateKeyExW(HKCR, ".test") failed: 0x5 assoc.c:155: Test failed: RegSetValueExW(HKCR.test, NULL, "testfile") failed: 0x6 assoc.c:159: Test failed: RegCreateKeyExW(HKCR, "testfile") failed: 0x5 assoc.c:113: Test failed: line 160: IQueryAssociations::Init failed, 0x1 assoc.c:113: Test failed: line 161: IQueryAssociations::Init failed, 0x1 assoc.c:113: Test failed: line 162: IQueryAssociations::Init failed, 0x80070057 assoc.c:166: Test failed: RegCreateKeyExW(HKCR\testfile\DefaultIcon) failed: 0x6 assoc.c:168: Test failed: RegSetValueExW(HKCR\testfile\DefaultIcon, NULL, "folder.ico") failed: 0x6 assoc.c:113: Test failed: line 169: IQueryAssociations::Init failed, 0x1 assoc.c:118: Test failed: line 169: GetString returned 0x80004005, expected success assoc.c:129: Test failed: line 169: GetString returned L"", expected L"shell32.dll,1" assoc.c:113: Test failed: line 170: IQueryAssociations::Init failed, 0x1 assoc.c:118: Test failed: line 170: GetString returned 0x80004005, expected success assoc.c:129: Test failed: line 170: GetString returned L"", expected L"shell32.dll,1" assoc.c:113: Test failed: line 171: IQueryAssociations::Init failed, 0x80070057 assoc.c:118: Test failed: line 171: GetString returned 0x80004005, expected success assoc.c:129: Test failed: line 171: GetString returned L"", expected L"shell32.dll,1"
shell32:assoc results on test.winehq.org: https://test.winehq.org/data/tests/shell32:assoc.html
commit 9e05c66c03cfa6df33fea0c13b944684bca9999f Author: Theodore Dubois tblodt@icloud.com Date: Wed Mar 16 13:19:51 2016 -0700
shell32/tests: Additional tests for IQueryAssociations.
Signed-off-by: Theodore Dubois tblodt@icloud.com Signed-off-by: Alexandre Julliard julliard@winehq.org