[MPlayer-cvslog] CVS: main/libmpdemux demux_mpg.c,1.82,1.83
Nico Sabbi CVS
syncmail at mplayerhq.hu
Thu May 18 20:05:13 CEST 2006
CVS change done by Nico Sabbi CVS
Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv5867
Modified Files:
demux_mpg.c
Log Message:
psm longer than 1018 bytes is not allowed, thus invalid
Index: demux_mpg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_mpg.c,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -r1.82 -r1.83
--- demux_mpg.c 3 May 2006 18:18:25 -0000 1.82
+++ demux_mpg.c 18 May 2006 18:05:10 -0000 1.83
@@ -45,7 +45,7 @@
mpg_demuxer_t *priv = (mpg_demuxer_t *) demux->priv;
mp_dbg(MSGT_DEMUX,MSGL_V, "PARSE_PSM, len=%d\n", len);
- if(! len)
+ if(! len || len > 1018)
return 0;
c = stream_read_char(demux->stream);
More information about the MPlayer-cvslog
mailing list