Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
ae48e099
Commit
ae48e099
authored
Jan 10, 2009
by
Rich Ercolani
Committed by
Alexandre Julliard
Jan 10, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winefile: Fix NULL pointer deref in read_tree.
parent
5e79b060
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
winefile.c
programs/winefile/winefile.c
+8
-1
No files found.
programs/winefile/winefile.c
View file @
ae48e099
...
...
@@ -3781,8 +3781,15 @@ static void refresh_child(ChildWnd* child)
scan_entry
(
child
,
&
child
->
root
.
entry
,
0
,
child
->
hwnd
);
#ifdef _SHELL_FOLDERS
if
(
child
->
root
.
entry
.
etype
==
ET_SHELL
)
entry
=
read_tree
(
&
child
->
root
,
NULL
,
get_path_pidl
(
path
,
child
->
hwnd
),
drv
,
child
->
sortOrder
,
child
->
hwnd
);
{
LPITEMIDLIST
local_pidl
=
get_path_pidl
(
path
,
child
->
hwnd
);
if
(
local_pidl
)
entry
=
read_tree
(
&
child
->
root
,
NULL
,
local_pidl
,
drv
,
child
->
sortOrder
,
child
->
hwnd
);
else
entry
=
NULL
;
}
else
#endif
entry
=
read_tree
(
&
child
->
root
,
path
,
NULL
,
drv
,
child
->
sortOrder
,
child
->
hwnd
);
...
...
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