]> git.sesse.net Git - vlc/commitdiff
Remove auto-update. This is blatantly insecure.
authorRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Sep 2007 09:46:06 +0000 (09:46 +0000)
committerRémi Denis-Courmont <rem@videolan.org>
Sat, 15 Sep 2007 09:46:06 +0000 (09:46 +0000)
Other projects have had CVEs for much less than this (e.g. CVE-2006-4567)

modules/control/rc.c
src/libvlc.sym
src/misc/update.c

index f0b0514e3cead752975b407dd69f5a6ad7bf407e..f874fb6f3e502ad99839fa1683960821c37d008f 100644 (file)
@@ -747,10 +747,12 @@ static void Run( intf_thread_t *p_intf )
 
             Help( p_intf, b_longhelp );
         }
+#if 0
         else if( !strcmp( psz_cmd, "check-updates" ) )
         {
             checkUpdates( p_intf, psz_arg );
         }
+#endif
         else if( !strcmp( psz_cmd, "key" ) || !strcmp( psz_cmd, "hotkey" ) )
         {
             var_SetInteger( p_intf->p_libvlc, "key-pressed",
@@ -2056,6 +2058,7 @@ static input_item_t *parse_MRL( intf_thread_t *p_intf, char *psz_mrl )
     return p_item;
 }
 
+#if 0
 /*****************************************************************************
  * checkUpdates : check for updates
  ****************************************************************************/
@@ -2172,3 +2175,4 @@ static void checkUpdates( intf_thread_t *p_intf, char *psz_arg )
     }
     update_Delete( p_u );
 }
+#endif
index 9bb795067dd006b12435f1e84c3e53ac7f6ff65d..064514dfdee38b23dcb00a7bb8f6d01681df2acc 100644 (file)
@@ -318,14 +318,6 @@ tls_ServerDelete
 ToLocale
 unescape_URI
 unescape_URI_duplicate
-update_Check
-update_Delete
-update_download
-update_iterator_Action
-update_iterator_ChooseMirrorAndFile
-update_iterator_Delete
-update_iterator_New
-__update_New
 us_atof
 us_strtod
 utf8_fopen
index c334c981042b90689faf7cc3466304239196fefe..50986952695837cc62d49534965b447920dcc2e6 100644 (file)
@@ -1,3 +1,4 @@
+#if 0
 /*****************************************************************************
  * update.c: VLC update and plugins download
  *****************************************************************************
@@ -1337,3 +1338,4 @@ void update_download_for_real( download_thread_t *p_this )
 
     vlc_object_destroy( p_this );
 }
+#endif