[MPlayer-cvslog] CVS: main/libmpdemux demux_real.c,1.90,1.91

Roberto Togni CVS syncmail at mplayerhq.hu
Thu Mar 9 23:09:05 CET 2006


CVS change done by Roberto Togni CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv7473

Modified Files:
	demux_real.c 
Log Message:
Fix potential read from an unitialized pointer (CID: 236)


Index: demux_real.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_real.c,v
retrieving revision 1.90
retrieving revision 1.91
diff -u -r1.90 -r1.91
--- demux_real.c	8 Mar 2006 13:26:36 -0000	1.90
+++ demux_real.c	9 Mar 2006 22:09:03 -0000	1.91
@@ -1207,7 +1207,7 @@
 		int codec_pos;
 		int tmp;
 		int len;
-		char *descr, *mimet;
+		char *descr, *mimet = NULL;
 
 		stream_id = stream_read_word(demuxer->stream);
 		mp_msg(MSGT_DEMUX,MSGL_V,"Found new stream (id: %d)\n", stream_id);




More information about the MPlayer-cvslog mailing list