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

zip: NULL dereference

parent cd640ff4
...@@ -116,7 +116,7 @@ int AccessOpen( vlc_object_t *p_this ) ...@@ -116,7 +116,7 @@ int AccessOpen( vlc_object_t *p_this )
return VLC_ENOMEM; return VLC_ENOMEM;
/* Split the MRL */ /* Split the MRL */
psz_path = strdup( p_access->psz_location ); psz_path = xstrdup( p_access->psz_location );
psz_sep = strstr( psz_path, ZIP_SEP ); psz_sep = strstr( psz_path, ZIP_SEP );
*psz_sep = '\0'; *psz_sep = '\0';
......
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