[vlc-commits] dmo: Fix use after free

Hugo Beauzée-Luyssen git at videolan.org
Tue Feb 14 15:30:36 CET 2017


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Feb 14 11:48:27 2017 +0100| [af7b7379b1f4ee34b99728b1c675742aaeaf1213] | committer: Hugo Beauzée-Luyssen

dmo: Fix use after free

CID #1402784

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=af7b7379b1f4ee34b99728b1c675742aaeaf1213
---

 modules/codec/dmo/dmo.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/dmo/dmo.c b/modules/codec/dmo/dmo.c
index f76fa6c..827a728 100644
--- a/modules/codec/dmo/dmo.c
+++ b/modules/codec/dmo/dmo.c
@@ -724,7 +724,7 @@ static int LoadDMO( vlc_object_t *p_this, HINSTANCE *p_hmsdmo_dll,
         if( CoCreateInstance( &clsid_dmo, NULL, CLSCTX_INPROC,
                               &IID_IMediaObject, (void **)pp_dmo ) )
         {
-            msg_Warn( p_this, "can't create DMO: %ls", psz_dmo_name );
+            msg_Warn( p_this, "can't create DMO" );
             *pp_dmo = 0;
         }
         else



More information about the vlc-commits mailing list