ole32: Allocate more for FmtIdToPropStgName (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
0d4c399623
commit
113b290dba
|
@ -2178,7 +2178,7 @@ static HRESULT WINAPI IPropertySetStorage_fnCreate(
|
||||||
IPropertyStorage** ppprstg)
|
IPropertyStorage** ppprstg)
|
||||||
{
|
{
|
||||||
StorageImpl *This = impl_from_IPropertySetStorage(ppstg);
|
StorageImpl *This = impl_from_IPropertySetStorage(ppstg);
|
||||||
WCHAR name[CCH_MAX_PROPSTG_NAME];
|
WCHAR name[CCH_MAX_PROPSTG_NAME + 1];
|
||||||
IStream *stm = NULL;
|
IStream *stm = NULL;
|
||||||
HRESULT r;
|
HRESULT r;
|
||||||
|
|
||||||
|
@ -2236,7 +2236,7 @@ static HRESULT WINAPI IPropertySetStorage_fnOpen(
|
||||||
{
|
{
|
||||||
StorageImpl *This = impl_from_IPropertySetStorage(ppstg);
|
StorageImpl *This = impl_from_IPropertySetStorage(ppstg);
|
||||||
IStream *stm = NULL;
|
IStream *stm = NULL;
|
||||||
WCHAR name[CCH_MAX_PROPSTG_NAME];
|
WCHAR name[CCH_MAX_PROPSTG_NAME + 1];
|
||||||
HRESULT r;
|
HRESULT r;
|
||||||
|
|
||||||
TRACE("%p %s %08x %p\n", This, debugstr_guid(rfmtid), grfMode, ppprstg);
|
TRACE("%p %s %08x %p\n", This, debugstr_guid(rfmtid), grfMode, ppprstg);
|
||||||
|
@ -2280,7 +2280,7 @@ static HRESULT WINAPI IPropertySetStorage_fnDelete(
|
||||||
REFFMTID rfmtid)
|
REFFMTID rfmtid)
|
||||||
{
|
{
|
||||||
StorageImpl *This = impl_from_IPropertySetStorage(ppstg);
|
StorageImpl *This = impl_from_IPropertySetStorage(ppstg);
|
||||||
WCHAR name[CCH_MAX_PROPSTG_NAME];
|
WCHAR name[CCH_MAX_PROPSTG_NAME + 1];
|
||||||
HRESULT r;
|
HRESULT r;
|
||||||
|
|
||||||
TRACE("%p %s\n", This, debugstr_guid(rfmtid));
|
TRACE("%p %s\n", This, debugstr_guid(rfmtid));
|
||||||
|
|
Loading…
Reference in New Issue