Commit 79aa7396 authored by Laurent Aimar's avatar Laurent Aimar

Fixed a segfault in access directory.

parent 37d45ebb
...@@ -353,6 +353,9 @@ static block_t *Block (access_t *p_access) ...@@ -353,6 +353,9 @@ static block_t *Block (access_t *p_access)
if (type + extlen == end if (type + extlen == end
&& !strncasecmp (ext, type, extlen)) && !strncasecmp (ext, type, extlen))
return NULL; return NULL;
if (*end == '\0')
break;
} }
} }
} }
......
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