[PATCH 1/2] Skip on invalid security descriptor to avoid exception
Nikolay Sivov
nsivov at codeweavers.com
Tue Jul 27 10:40:01 CDT 2010
---
dlls/shlwapi/tests/ordinal.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/shlwapi/tests/ordinal.c b/dlls/shlwapi/tests/ordinal.c
index d60effd..3f8f2a1 100644
--- a/dlls/shlwapi/tests/ordinal.c
+++ b/dlls/shlwapi/tests/ordinal.c
@@ -614,7 +614,7 @@ static void test_GetShellSecurityDescriptor(void)
win_skip("GetShellSecurityDescriptor is not implemented\n");
return;
}
- if (psd==INVALID_HANDLE_VALUE)
+ if (psd == INVALID_HANDLE_VALUE || !IsValidSecurityDescriptor(psd))
{
win_skip("GetShellSecurityDescriptor is broken on IE5\n");
return;
--
1.5.6.5
--------------000008090701020402040403--
More information about the wine-patches
mailing list