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
ee12b4fe
Commit
ee12b4fe
authored
Aug 30, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Aug 31, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Check return value of msi_string2idW (Coverity).
parent
bd70b791
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
streams.c
dlls/msi/streams.c
+4
-2
No files found.
dlls/msi/streams.c
View file @
ee12b4fe
...
...
@@ -296,10 +296,12 @@ static UINT STREAMS_get_column_info( struct tagMSIVIEW *view, UINT n, LPCWSTR *n
static
UINT
streams_find_row
(
MSISTREAMSVIEW
*
sv
,
MSIRECORD
*
rec
,
UINT
*
row
)
{
LPCWSTR
str
;
UINT
i
,
id
,
data
;
UINT
r
,
i
,
id
,
data
;
str
=
MSI_RecordGetString
(
rec
,
1
);
msi_string2idW
(
sv
->
db
->
strings
,
str
,
&
id
);
r
=
msi_string2idW
(
sv
->
db
->
strings
,
str
,
&
id
);
if
(
r
!=
ERROR_SUCCESS
)
return
r
;
for
(
i
=
0
;
i
<
sv
->
num_rows
;
i
++
)
{
...
...
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