mirror of
https://github.com/reactos/wine.git
synced 2025-02-18 03:48:01 +00:00
windowscodecs: Check guid pointer for NULL in TiffDecoder_GetContainerFormat.
This commit is contained in:
parent
b8c4ba6603
commit
a53807e3e8
@ -595,6 +595,8 @@ exit:
|
||||
static HRESULT WINAPI TiffDecoder_GetContainerFormat(IWICBitmapDecoder *iface,
|
||||
GUID *pguidContainerFormat)
|
||||
{
|
||||
if (!pguidContainerFormat) return E_INVALIDARG;
|
||||
|
||||
memcpy(pguidContainerFormat, &GUID_ContainerFormatTiff, sizeof(GUID));
|
||||
return S_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user