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
9c7025f9
Commit
9c7025f9
authored
Feb 05, 2014
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Feb 06, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
taskschd: Add a NULL check to ITaskFolder::GetFolders.
parent
b3a79114
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
folder.c
dlls/taskschd/folder.c
+2
-0
scheduler.c
dlls/taskschd/tests/scheduler.c
+3
-0
No files found.
dlls/taskschd/folder.c
View file @
9c7025f9
...
...
@@ -236,6 +236,8 @@ static HRESULT WINAPI TaskFolder_GetFolders(ITaskFolder *iface, LONG flags, ITas
TRACE
(
"%p,%x,%p: stub
\n
"
,
iface
,
flags
,
folders
);
if
(
!
folders
)
return
E_POINTER
;
if
(
flags
)
FIXME
(
"unsupported flags %x
\n
"
,
flags
);
...
...
dlls/taskschd/tests/scheduler.c
View file @
9c7025f9
...
...
@@ -453,6 +453,9 @@ static void test_FolderCollection(void)
hr
=
ITaskFolder_GetFolder
(
root
,
Wine
,
&
folder
);
ok
(
hr
==
S_OK
,
"GetFolder error %#x
\n
"
,
hr
);
hr
=
ITaskFolder_GetFolders
(
folder
,
0
,
NULL
);
ok
(
hr
==
E_POINTER
,
"expected E_POINTER, got %#x
\n
"
,
hr
);
hr
=
ITaskFolder_GetFolders
(
folder
,
0
,
&
folders
);
ok
(
hr
==
S_OK
,
"GetFolders error %#x
\n
"
,
hr
);
...
...
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