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
086a1a4e
Commit
086a1a4e
authored
Dec 23, 2015
by
Hans Leidekker
Committed by
Alexandre Julliard
Dec 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wbemprox: Set correct variant type if array property value is NULL.
Signed-off-by:
Hans Leidekker
<
hans@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ee81036a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
query.c
dlls/wbemprox/query.c
+2
-1
No files found.
dlls/wbemprox/query.c
View file @
086a1a4e
...
...
@@ -841,7 +841,8 @@ HRESULT get_propval( const struct view *view, UINT index, const WCHAR *name, VAR
CIMTYPE
basetype
=
view
->
table
->
columns
[
column
].
type
&
CIM_TYPE_MASK
;
val_ptr
=
to_safearray
(
(
const
struct
array
*
)(
INT_PTR
)
val
,
basetype
);
if
(
!
vartype
)
vartype
=
to_vartype
(
basetype
)
|
VT_ARRAY
;
if
(
!
val_ptr
)
vartype
=
VT_NULL
;
else
if
(
!
vartype
)
vartype
=
to_vartype
(
basetype
)
|
VT_ARRAY
;
goto
done
;
}
switch
(
view
->
table
->
columns
[
column
].
type
&
COL_TYPE_MASK
)
...
...
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