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
7e936825
Commit
7e936825
authored
Jan 02, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wmiutils: Validate parameters in IWbemPath::SetText and IWbemPath::GetText.
parent
0ee1b888
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
path.c
dlls/wmiutils/path.c
+4
-0
No files found.
dlls/wmiutils/path.c
View file @
7e936825
...
...
@@ -100,6 +100,8 @@ static HRESULT WINAPI path_SetText(
TRACE
(
"%p, %u, %s
\n
"
,
iface
,
uMode
,
debugstr_w
(
pszPath
));
if
(
!
pszPath
)
return
WBEM_E_INVALID_PARAMETER
;
if
(
uMode
)
FIXME
(
"igoring mode %u
\n
"
,
uMode
);
len
=
strlenW
(
pszPath
);
...
...
@@ -120,6 +122,8 @@ static HRESULT WINAPI path_GetText(
TRACE
(
"%p, 0x%x, %p, %p
\n
"
,
iface
,
lFlags
,
puBufferLength
,
pszText
);
if
(
!
puBufferLength
||
!
pszText
)
return
WBEM_E_INVALID_PARAMETER
;
if
(
lFlags
!=
WBEMPATH_GET_ORIGINAL
)
{
FIXME
(
"flags 0x%x not supported
\n
"
,
lFlags
);
...
...
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