[MPlayer-cvslog] r33514 - trunk/stream/stream_cue.c

reimar subversion at mplayerhq.hu
Sun May 29 13:43:38 CEST 2011


Author: reimar
Date: Sun May 29 13:43:38 2011
New Revision: 33514

Log:
Avoid crash if terminating " is missing.

Modified:
   trunk/stream/stream_cue.c

Modified: trunk/stream/stream_cue.c
==============================================================================
--- trunk/stream/stream_cue.c	Sun May 29 13:41:40 2011	(r33513)
+++ trunk/stream/stream_cue.c	Sun May 29 13:43:38 2011	(r33514)
@@ -186,7 +186,7 @@ static int cue_find_bin (const char *fir
   {
     firstline += 6;
     i = 0;
-    while ( *firstline != '"')
+    while ( *firstline && *firstline != '"')
     {
       bin_filename[i] = *firstline++;
 


More information about the MPlayer-cvslog mailing list