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

HTTP ACL: fail closed, not open

parent 0403c7a8
......@@ -184,6 +184,13 @@ int ParseDirectory( intf_thread_t *p_intf, char *psz_root,
if( ACL_LoadFile( p_acl, dir ) )
{
ACL_Destroy( p_acl );
struct stat st;
if( stat( dir, &st ) == 0 )
{
closedir( dir );
return VLC_EGENERIC;
}
p_acl = NULL;
}
......
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