Rob Shearman : advapi32: The lpcbSecurityDescriptor parameter to RegGetKeySecurity isn't optional, so don't complicate the code by treating as though it is.
Alexandre Julliard
julliard at winehq.org
Fri Feb 15 05:35:59 CST 2008
Module: wine
Branch: master
Commit: 7579145ae139753d76ccebb1a4d6805550de0353
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7579145ae139753d76ccebb1a4d6805550de0353
Author: Rob Shearman <rob at codeweavers.com>
Date: Thu Feb 14 14:38:30 2008 +0000
advapi32: The lpcbSecurityDescriptor parameter to RegGetKeySecurity isn't optional, so don't complicate the code by treating as though it is.
---
dlls/advapi32/registry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/advapi32/registry.c b/dlls/advapi32/registry.c
index dda68e2..1931ece 100644
--- a/dlls/advapi32/registry.c
+++ b/dlls/advapi32/registry.c
@@ -2238,7 +2238,7 @@ LSTATUS WINAPI RegGetKeySecurity( HKEY hkey, SECURITY_INFORMATION SecurityInform
LPDWORD lpcbSecurityDescriptor )
{
TRACE("(%p,%d,%p,%d)\n",hkey,SecurityInformation,pSecurityDescriptor,
- lpcbSecurityDescriptor?*lpcbSecurityDescriptor:0);
+ *lpcbSecurityDescriptor);
if (!(hkey = get_special_root_hkey( hkey ))) return ERROR_INVALID_HANDLE;
More information about the wine-cvs
mailing list