[MPlayer-cvslog] r37676 - trunk/asxparser.c
    reimar 
    subversion at mplayerhq.hu
       
    Thu Feb 11 21:49:25 CET 2016
    
    
  
Author: reimar
Date: Thu Feb 11 21:49:25 2016
New Revision: 37676
Log:
asxparser: Fix NULL dereference.
In case of unexpected string end we must
exit the function, not continue the loop.
Fixes Coverity issue.
Modified:
   trunk/asxparser.c
Modified: trunk/asxparser.c
==============================================================================
--- trunk/asxparser.c	Thu Feb 11 21:47:37 2016	(r37675)
+++ trunk/asxparser.c	Thu Feb 11 21:49:25 2016	(r37676)
@@ -314,6 +314,7 @@ asx_get_element(ASX_Parser_t* parser,cha
         }
         if(ptr4[0] == '\n') parser->line++;
         }
+        if (ptr4)
         continue;
       }
       if(ptr4 == NULL || ptr4[1] == '\0') {
    
    
More information about the MPlayer-cvslog
mailing list