[vlc-devel] commit: cmml: remove a potential security problem. ( Rémi Duraffort )

git version control git at videolan.org
Mon Dec 28 14:44:30 CET 2009


vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun Dec 20 17:44:56 2009 +0100| [bf4d8c909f1b76103674f5a00ae93a8a1d626f96] | committer: Rémi Duraffort 

cmml: remove a potential security problem.

Anyway:
 * cmml samples can't be found in the nature
 * cmml demux does not works AFAIK
 * we will remove cmml soon.

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

 modules/codec/cmml/browser_open.c |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/modules/codec/cmml/browser_open.c b/modules/codec/cmml/browser_open.c
index 4295a5f..f8b8b11 100644
--- a/modules/codec/cmml/browser_open.c
+++ b/modules/codec/cmml/browser_open.c
@@ -33,7 +33,7 @@
 
 #include "browser_open.h"
 
-
+#if 0
 int browser_Open( const char *psz_url )
 {
 #ifdef __APPLE__
@@ -85,4 +85,11 @@ int browser_Open( const char *psz_url )
     return i_ret;
 #endif
 }
+#else
+int browser_Open( const char *psz_url )
+{
+    (void)psz_url;
+    return -1;
+}
+#endif
 




More information about the vlc-devel mailing list