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
e6ce281d
Commit
e6ce281d
authored
May 28, 2019
by
Sven Baars
Committed by
Alexandre Julliard
May 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shell32: Fix a use after free (Coverity).
Signed-off-by:
Sven Baars
<
sven.wine@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
097733fe
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
shellitem.c
dlls/shell32/shellitem.c
+3
-1
No files found.
dlls/shell32/shellitem.c
View file @
e6ce281d
...
...
@@ -1289,9 +1289,11 @@ HRESULT WINAPI SHCreateShellItemArray(PCIDLIST_ABSOLUTE pidlParent,
if
(
SUCCEEDED
(
ret
))
{
ret
=
create_shellitemarray
(
array
,
cidl
,
ppsiItemArray
);
heap_free
(
array
);
if
(
SUCCEEDED
(
ret
))
{
heap_free
(
array
);
return
ret
;
}
}
/* Something failed, clean up. */
...
...
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