[vlc-commits] addons: vorepository: missing internal manifest stream creation check

Francois Cartegnie git at videolan.org
Thu Feb 13 18:37:30 CET 2014


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Feb 13 18:36:52 2014 +0100| [2c5aa8818c9fb11582e5e14cab834533dc42c56d] | committer: Francois Cartegnie

addons: vorepository: missing internal manifest stream creation check

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

 modules/misc/addons/vorepository.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/modules/misc/addons/vorepository.c b/modules/misc/addons/vorepository.c
index 253931e..b19695d 100644
--- a/modules/misc/addons/vorepository.c
+++ b/modules/misc/addons/vorepository.c
@@ -411,6 +411,8 @@ static int Retrieve( addons_finder_t *p_finder, addon_entry_t *p_entry )
 
     p_stream = stream_UrlNew( p_finder, psz_manifest );
     free( psz_manifest );
+    if ( !p_stream )
+        return VLC_EGENERIC;
 
     int i_ret = ( ParseManifest( p_finder, p_entry,
                                  p_finder->p_sys->psz_tempfile, p_stream ) > 0 )



More information about the vlc-commits mailing list