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
1f48c89e
Commit
1f48c89e
authored
Jun 08, 2012
by
Dmitry Timoshkov
Committed by
Alexandre Julliard
Jun 08, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs: Protect from invalid input some metadata handler methods.
parent
562b277b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
metadatahandler.c
dlls/windowscodecs/metadatahandler.c
+6
-0
No files found.
dlls/windowscodecs/metadatahandler.c
View file @
1f48c89e
...
...
@@ -133,6 +133,8 @@ static ULONG WINAPI MetadataHandler_Release(IWICMetadataWriter *iface)
static
HRESULT
WINAPI
MetadataHandler_GetMetadataFormat
(
IWICMetadataWriter
*
iface
,
GUID
*
pguidMetadataFormat
)
{
if
(
!
pguidMetadataFormat
)
return
E_INVALIDARG
;
FIXME
(
"(%p,%s): stub
\n
"
,
iface
,
debugstr_guid
(
pguidMetadataFormat
));
return
E_NOTIMPL
;
}
...
...
@@ -147,6 +149,8 @@ static HRESULT WINAPI MetadataHandler_GetMetadataHandlerInfo(IWICMetadataWriter
static
HRESULT
WINAPI
MetadataHandler_GetCount
(
IWICMetadataWriter
*
iface
,
UINT
*
pcCount
)
{
if
(
!
pcCount
)
return
E_INVALIDARG
;
FIXME
(
"(%p,%p): stub
\n
"
,
iface
,
pcCount
);
return
E_NOTIMPL
;
}
...
...
@@ -514,6 +518,8 @@ static HRESULT MetadataHandlerEnum_Create(MetadataHandler *parent, DWORD index,
{
MetadataHandlerEnum
*
This
;
if
(
!
ppIEnumMetadataItem
)
return
E_INVALIDARG
;
*
ppIEnumMetadataItem
=
NULL
;
This
=
HeapAlloc
(
GetProcessHeap
(),
0
,
sizeof
(
MetadataHandlerEnum
));
...
...
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