Commit 7b75f68f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove auto-update. This is blatantly insecure.

Other projects have had CVEs for much less than this (e.g. CVE-2006-4567)
parent 7e2caf88
...@@ -747,10 +747,12 @@ static void Run( intf_thread_t *p_intf ) ...@@ -747,10 +747,12 @@ static void Run( intf_thread_t *p_intf )
Help( p_intf, b_longhelp ); Help( p_intf, b_longhelp );
} }
#if 0
else if( !strcmp( psz_cmd, "check-updates" ) ) else if( !strcmp( psz_cmd, "check-updates" ) )
{ {
checkUpdates( p_intf, psz_arg ); checkUpdates( p_intf, psz_arg );
} }
#endif
else if( !strcmp( psz_cmd, "key" ) || !strcmp( psz_cmd, "hotkey" ) ) else if( !strcmp( psz_cmd, "key" ) || !strcmp( psz_cmd, "hotkey" ) )
{ {
var_SetInteger( p_intf->p_libvlc, "key-pressed", 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 ) ...@@ -2056,6 +2058,7 @@ static input_item_t *parse_MRL( intf_thread_t *p_intf, char *psz_mrl )
return p_item; return p_item;
} }
#if 0
/***************************************************************************** /*****************************************************************************
* checkUpdates : check for updates * checkUpdates : check for updates
****************************************************************************/ ****************************************************************************/
...@@ -2172,3 +2175,4 @@ static void checkUpdates( intf_thread_t *p_intf, char *psz_arg ) ...@@ -2172,3 +2175,4 @@ static void checkUpdates( intf_thread_t *p_intf, char *psz_arg )
} }
update_Delete( p_u ); update_Delete( p_u );
} }
#endif
...@@ -318,14 +318,6 @@ tls_ServerDelete ...@@ -318,14 +318,6 @@ tls_ServerDelete
ToLocale ToLocale
unescape_URI unescape_URI
unescape_URI_duplicate 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_atof
us_strtod us_strtod
utf8_fopen utf8_fopen
......
#if 0
/***************************************************************************** /*****************************************************************************
* update.c: VLC update and plugins download * update.c: VLC update and plugins download
***************************************************************************** *****************************************************************************
...@@ -1337,3 +1338,4 @@ void update_download_for_real( download_thread_t *p_this ) ...@@ -1337,3 +1338,4 @@ void update_download_for_real( download_thread_t *p_this )
vlc_object_destroy( p_this ); vlc_object_destroy( p_this );
} }
#endif
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