[MPlayer-cvslog] r24990 - trunk/playtreeparser.c
cehoyos
subversion at mplayerhq.hu
Fri Nov 9 00:05:54 CET 2007
Author: cehoyos
Date: Fri Nov 9 00:05:54 2007
New Revision: 24990
Log:
Fix possible null-pointer-dereference in parse_smil().
Modified:
trunk/playtreeparser.c
Modified: trunk/playtreeparser.c
==============================================================================
--- trunk/playtreeparser.c (original)
+++ trunk/playtreeparser.c Fri Nov 9 00:05:54 2007
@@ -456,6 +456,7 @@ parse_smil(play_tree_parser_t* p) {
return NULL; //line not smil exit
}
+ if (!line) return NULL;
mp_msg(MSGT_PLAYTREE,MSGL_V,"Detected smil playlist format\n");
play_tree_parser_stop_keeping(p);
More information about the MPlayer-cvslog
mailing list