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
c2ae34c5
Commit
c2ae34c5
authored
Jun 27, 2015
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 29, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Check GetMetadataFormat() return value (Coverity).
parent
48246a14
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
image.c
dlls/gdiplus/image.c
+4
-4
No files found.
dlls/gdiplus/image.c
View file @
c2ae34c5
...
...
@@ -3058,8 +3058,8 @@ static BOOL get_bool_property(IWICMetadataReader *reader, const GUID *guid, cons
PROPVARIANT
id
,
value
;
BOOL
ret
=
FALSE
;
IWICMetadataReader_GetMetadataFormat
(
reader
,
&
format
);
if
(
!
IsEqualGUID
(
&
format
,
guid
))
return
FALSE
;
hr
=
IWICMetadataReader_GetMetadataFormat
(
reader
,
&
format
);
if
(
FAILED
(
hr
)
||
!
IsEqualGUID
(
&
format
,
guid
))
return
FALSE
;
PropVariantInit
(
&
id
);
PropVariantInit
(
&
value
);
...
...
@@ -3085,8 +3085,8 @@ static PropertyItem *get_property(IWICMetadataReader *reader, const GUID *guid,
PROPVARIANT
id
,
value
;
PropertyItem
*
item
=
NULL
;
IWICMetadataReader_GetMetadataFormat
(
reader
,
&
format
);
if
(
!
IsEqualGUID
(
&
format
,
guid
))
return
NULL
;
hr
=
IWICMetadataReader_GetMetadataFormat
(
reader
,
&
format
);
if
(
FAILED
(
hr
)
||
!
IsEqualGUID
(
&
format
,
guid
))
return
NULL
;
PropVariantInit
(
&
id
);
PropVariantInit
(
&
value
);
...
...
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