]> git.sesse.net Git - vlc/commitdiff
* modules/dvb/access.c: Fixed a major heap corruption (gardening)
authorChristophe Massiot <massiot@videolan.org>
Sat, 2 Oct 2004 18:19:39 +0000 (18:19 +0000)
committerChristophe Massiot <massiot@videolan.org>
Sat, 2 Oct 2004 18:19:39 +0000 (18:19 +0000)
modules/access/dvb/access.c

index 283b24d4db260b2e5fbf8e2ad282f17a20fd1993..3df76f713becd9708280b74d99d8a9c4a3e3c456 100644 (file)
@@ -637,7 +637,8 @@ static int ParseMRL( access_t *p_access )
             return VLC_EGENERIC;
         }
 
-        psz_parser++;
+        if ( *psz_parser )
+            psz_parser++;
     }
 #undef GET_OPTION_INT
 #undef GET_OPTION_BOOL