[PATCH 3/4] quartz: Fix a use-after-free in FilterGraph2_Connect().
Zebediah Figura
z.figura12 at gmail.com
Tue Feb 27 00:01:27 CST 2018
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
dlls/quartz/filtergraph.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index f9bc47b..0113674 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -1049,6 +1049,7 @@ static HRESULT WINAPI FilterGraph2_Connect(IFilterGraph2 *iface, IPin *ppinOut,
if (IsEqualGUID(&clsid, &FilterCLSID)) {
/* Skip filter (same as the one the output pin belongs to) */
IBaseFilter_Release(pfilter);
+ pfilter = NULL;
goto error;
}
--
2.7.4
More information about the wine-devel
mailing list