[Bug 40344] New: shell32:assoc regression (privilege issue)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 23 06:42:04 CDT 2016


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 at winehq.org
          Reporter: fgouget at 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 at icloud.com>
Date:   Wed Mar 16 13:19:51 2016 -0700

    shell32/tests: Additional tests for IQueryAssociations.

    Signed-off-by: Theodore Dubois <tblodt at icloud.com>
    Signed-off-by: Alexandre Julliard <julliard at winehq.org>

-- 
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