Alexander Dorofeyev : quartz: Prevent heap corruption if IPropertyBag_Read fails.

Alexandre Julliard julliard at winehq.org
Wed Jun 25 16:43:57 CDT 2008


Module: wine
Branch: master
Commit: 1aff73455dd3607a44389d2a44fea81f23dcfc81
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1aff73455dd3607a44389d2a44fea81f23dcfc81

Author: Alexander Dorofeyev <alexd4 at inbox.lv>
Date:   Tue Jun 24 16:45:19 2008 +0300

quartz: Prevent heap corruption if IPropertyBag_Read fails.

---

 dlls/quartz/filtermapper.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/filtermapper.c b/dlls/quartz/filtermapper.c
index 24055d6..da6d59f 100644
--- a/dlls/quartz/filtermapper.c
+++ b/dlls/quartz/filtermapper.c
@@ -1040,7 +1040,6 @@ static HRESULT WINAPI FilterMapper2_EnumMatchingFilters(
 
                     if (SUCCEEDED(hrSub))
                     {
-                        V_VT(&var) = VT_ARRAY | VT_UI1;
                         hrSub = IPropertyBag_Read(pPropBag, wszFilterDataName, &var, NULL);
                     }
 




More information about the wine-cvs mailing list