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
aec497b0
Commit
aec497b0
authored
Jun 11, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Jun 13, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Fix some NULL dereferences (Coverity).
parent
891fcb20
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
font.c
dlls/msi/font.c
+4
-4
No files found.
dlls/msi/font.c
View file @
aec497b0
...
...
@@ -216,13 +216,13 @@ static UINT ITERATE_RegisterFonts(MSIRECORD *row, LPVOID param)
file
=
msi_get_loaded_file
(
package
,
filename
);
if
(
!
file
)
{
WARN
(
"unable to find file %s
\n
"
,
debugstr_w
(
file
->
Fil
e
));
WARN
(
"unable to find file %s
\n
"
,
debugstr_w
(
file
nam
e
));
return
ERROR_SUCCESS
;
}
comp
=
msi_get_loaded_component
(
package
,
file
->
Component
->
Component
);
if
(
!
comp
)
{
WARN
(
"unable to find component %s
\n
"
,
debugstr_w
(
comp
->
Component
));
WARN
(
"unable to find component %s
\n
"
,
debugstr_w
(
file
->
Component
->
Component
));
return
ERROR_SUCCESS
;
}
comp
->
Action
=
msi_get_component_action
(
package
,
comp
);
...
...
@@ -301,13 +301,13 @@ static UINT ITERATE_UnregisterFonts( MSIRECORD *row, LPVOID param )
file
=
msi_get_loaded_file
(
package
,
filename
);
if
(
!
file
)
{
WARN
(
"unable to find file %s
\n
"
,
debugstr_w
(
file
->
Fil
e
));
WARN
(
"unable to find file %s
\n
"
,
debugstr_w
(
file
nam
e
));
return
ERROR_SUCCESS
;
}
comp
=
msi_get_loaded_component
(
package
,
file
->
Component
->
Component
);
if
(
!
comp
)
{
WARN
(
"unable to find component %s
\n
"
,
debugstr_w
(
comp
->
Component
));
WARN
(
"unable to find component %s
\n
"
,
debugstr_w
(
file
->
Component
->
Component
));
return
ERROR_SUCCESS
;
}
comp
->
Action
=
msi_get_component_action
(
package
,
comp
);
...
...
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