[MPlayer-cvslog] r32708 - trunk/libmpdemux/demux_mov.c
reimar
subversion at mplayerhq.hu
Sun Dec 12 17:50:13 CET 2010
Author: reimar
Date: Sun Dec 12 17:50:13 2010
New Revision: 32708
Log:
len < 8 is also invalid for 64-bit codec chunk size.
Previous code could cause hang.
Modified:
trunk/libmpdemux/demux_mov.c
Modified: trunk/libmpdemux/demux_mov.c
==============================================================================
--- trunk/libmpdemux/demux_mov.c Sun Dec 12 15:31:17 2010 (r32707)
+++ trunk/libmpdemux/demux_mov.c Sun Dec 12 17:50:13 2010 (r32708)
@@ -368,7 +368,7 @@ static int mov_check_file(demuxer_t* dem
goto skip_chunk;
}
#endif
- else if(len<8) break; // invalid chunk
+ if(len<8) break; // invalid chunk
switch(id){
case MOV_FOURCC('f','t','y','p'): {
More information about the MPlayer-cvslog
mailing list