]> git.sesse.net Git - vlc/blobdiff - modules/misc/lua/vlc.h
Dynamically allocate the dir list to prevent potential array overflows (I believe...
[vlc] / modules / misc / lua / vlc.h
index 7bca326a19b544edb31a16232589b33146c044cc..e6e13d2ca82be2aabf313413ec67084cb49c2f69 100644 (file)
@@ -106,7 +106,7 @@ int vlclua_push_ret( lua_State *, int i_error );
 int vlclua_scripts_batch_execute( vlc_object_t *p_this, const char * luadirname,
         int (*func)(vlc_object_t *, const char *, void *),
         void * user_data );
-int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname, char **ppsz_dir_list );
+int vlclua_dir_list( vlc_object_t *p_this, const char *luadirname, char ***pppsz_dir_list );
 void vlclua_dir_list_free( char **ppsz_dir_list );
 char *vlclua_find_file( vlc_object_t *p_this, const char *psz_luadirname, const char *psz_name );