Commit 63359e47 authored by Damien Fouilleul's avatar Damien Fouilleul

activex: fix recursive plugin release, which may cause explorer to crash and...

activex: fix recursive plugin release, which may cause explorer to crash and opens activex to security exploit as detected by Ricardo Narvaja from Core Security Technologies
parent caf03570
......@@ -282,6 +282,12 @@ VLCPlugin::VLCPlugin(VLCPluginClass *p_class, LPUNKNOWN pUnkOuter) :
VLCPlugin::~VLCPlugin()
{
/*
** bump refcount to avoid recursive release from
** following interfaces when releasing this interface
*/
AddRef();
delete vlcSupportErrorInfo;
delete vlcOleObject;
delete vlcDataObject;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment