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
85045480
Commit
85045480
authored
Mar 04, 2011
by
Marcus Meissner
Committed by
Alexandre Julliard
Mar 04, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Pointer to out of scope local variable (Coverity).
parent
f955a7ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
table.c
dlls/msi/table.c
+2
-1
No files found.
dlls/msi/table.c
View file @
85045480
...
@@ -1143,6 +1143,8 @@ static UINT msi_stream_name( const MSITABLEVIEW *tv, UINT row, LPWSTR *pstname )
...
@@ -1143,6 +1143,8 @@ static UINT msi_stream_name( const MSITABLEVIEW *tv, UINT row, LPWSTR *pstname )
type
=
tv
->
columns
[
i
].
type
;
type
=
tv
->
columns
[
i
].
type
;
if
(
type
&
MSITYPE_KEY
)
if
(
type
&
MSITYPE_KEY
)
{
{
WCHAR
number
[
0x20
];
r
=
TABLE_fetch_int
(
view
,
row
,
i
+
1
,
&
ival
);
r
=
TABLE_fetch_int
(
view
,
row
,
i
+
1
,
&
ival
);
if
(
r
!=
ERROR_SUCCESS
)
if
(
r
!=
ERROR_SUCCESS
)
goto
err
;
goto
err
;
...
@@ -1159,7 +1161,6 @@ static UINT msi_stream_name( const MSITABLEVIEW *tv, UINT row, LPWSTR *pstname )
...
@@ -1159,7 +1161,6 @@ static UINT msi_stream_name( const MSITABLEVIEW *tv, UINT row, LPWSTR *pstname )
else
else
{
{
static
const
WCHAR
fmt
[]
=
{
'%'
,
'd'
,
0
};
static
const
WCHAR
fmt
[]
=
{
'%'
,
'd'
,
0
};
WCHAR
number
[
0x20
];
UINT
n
=
bytes_per_column
(
tv
->
db
,
&
tv
->
columns
[
i
],
LONG_STR_BYTES
);
UINT
n
=
bytes_per_column
(
tv
->
db
,
&
tv
->
columns
[
i
],
LONG_STR_BYTES
);
switch
(
n
)
switch
(
n
)
...
...
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