Commit 967b137e authored by Thomas Guillem's avatar Thomas Guillem

smb: check vlc_UrlParseFixup return

parent b8475e95
......@@ -175,7 +175,11 @@ static int Open( vlc_object_t *p_this )
# undef open
#endif
vlc_UrlParseFixup( &url, p_access->psz_url );
if( vlc_UrlParseFixup( &url, p_access->psz_url ) != 0 )
{
vlc_UrlClean( &url );
return VLC_EGENERIC;
}
if( url.psz_path )
{
psz_decoded_path = vlc_uri_decode_duplicate( url.psz_path );
......
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