Zebediah Figura : quartz: Fix a use-after-free in FilterGraph2_Connect().
Alexandre Julliard
julliard at winehq.org
Tue Feb 27 17:29:33 CST 2018
Module: wine
Branch: master
Commit: e5db13a8c89b557d380abc41dc8999d6f644de40
URL: https://source.winehq.org/git/wine.git/?a=commit;h=e5db13a8c89b557d380abc41dc8999d6f644de40
Author: Zebediah Figura <z.figura12 at gmail.com>
Date: Tue Feb 27 00:01:27 2018 -0600
quartz: Fix a use-after-free in FilterGraph2_Connect().
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
}
More information about the wine-cvs
mailing list