$OpenBSD: patch-modules_access_mms_mmstu_c,v 1.3 2011/05/08 16:20:16 dcoppa Exp $ Fix a potential crash. --- modules/access/mms/mmstu.c.orig Fri May 6 18:26:32 2011 +++ modules/access/mms/mmstu.c Fri May 6 18:26:58 2011 @@ -643,7 +643,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_ /* media file path shouldn't start with / character */ mediapath = p_url->psz_path; - if ( *mediapath == '/' ) + if ( mediapath && *mediapath == '/' ) { mediapath++; }