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
9f42e8eb
Commit
9f42e8eb
authored
May 20, 2008
by
James Hawkins
Committed by
Alexandre Julliard
May 20, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hhctrl.ocx: Check the filename param before dereferencing it.
parent
70cd6bfb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
hhctrl.c
dlls/hhctrl.ocx/hhctrl.c
+6
-0
No files found.
dlls/hhctrl.ocx/hhctrl.c
View file @
9f42e8eb
...
...
@@ -108,6 +108,9 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
FIXME
(
"Not all HH cases handled correctly
\n
"
);
if
(
!
filename
)
return
NULL
;
index
=
strstrW
(
filename
,
delimW
);
if
(
index
)
{
...
...
@@ -141,6 +144,9 @@ HWND WINAPI HtmlHelpW(HWND caller, LPCWSTR filename, UINT command, DWORD_PTR dat
HHInfo
*
info
;
LPWSTR
url
;
if
(
!
filename
)
return
NULL
;
info
=
CreateHelpViewer
(
filename
);
if
(
!
info
)
return
NULL
;
...
...
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