Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
e3986462
Commit
e3986462
authored
Dec 02, 2012
by
Erich Hoover
Committed by
Alexandre Julliard
Dec 03, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Return immediately for unsupported [Get|Set]NamedSecurityInfo objects.
parent
3a486471
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
security.c
dlls/advapi32/security.c
+15
-0
No files found.
dlls/advapi32/security.c
View file @
e3986462
...
...
@@ -3928,6 +3928,11 @@ DWORD WINAPI SetNamedSecurityInfoW(LPWSTR pObjectName,
TRACE
(
"%s %d %d %p %p %p %p
\n
"
,
debugstr_w
(
pObjectName
),
ObjectType
,
SecurityInfo
,
psidOwner
,
psidGroup
,
pDacl
,
pSacl
);
if
(
ObjectType
!=
SE_FILE_OBJECT
)
{
FIXME
(
"Object type %d is not currently supported.
\n
"
,
ObjectType
);
return
ERROR_SUCCESS
;
}
if
(
!
pObjectName
)
return
ERROR_INVALID_PARAMETER
;
if
(
!
RtlDosPathNameToNtPathName_U
(
pObjectName
,
&
nameW
,
NULL
,
NULL
))
...
...
@@ -5465,6 +5470,16 @@ DWORD WINAPI GetNamedSecurityInfoW( LPWSTR name, SE_OBJECT_TYPE type,
TRACE
(
"%s %d %d %p %p %p %p %p
\n
"
,
debugstr_w
(
name
),
type
,
info
,
owner
,
group
,
dacl
,
sacl
,
descriptor
);
if
(
type
!=
SE_FILE_OBJECT
)
{
FIXME
(
"Object type %d is not currently supported.
\n
"
,
type
);
if
(
owner
)
*
owner
=
NULL
;
if
(
group
)
*
group
=
NULL
;
if
(
dacl
)
*
dacl
=
NULL
;
if
(
sacl
)
*
sacl
=
NULL
;
if
(
descriptor
)
*
descriptor
=
NULL
;
return
ERROR_SUCCESS
;
}
/* A NULL descriptor is allowed if any one of the other pointers is not NULL */
if
(
!
name
||
!
(
owner
||
group
||
dacl
||
sacl
||
descriptor
)
)
return
ERROR_INVALID_PARAMETER
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment