]> git.sesse.net Git - vlc/commitdiff
Fixed access to (potentially) uninitialized data (close #1246, reported by aurelien).
authorLaurent Aimar <fenrir@videolan.org>
Mon, 16 Jul 2007 20:45:20 +0000 (20:45 +0000)
committerLaurent Aimar <fenrir@videolan.org>
Mon, 16 Jul 2007 20:45:20 +0000 (20:45 +0000)
modules/demux/asf/libasf.c

index d0404e78780aa836111c33453a498cd44eea91fd..943c638091b3f6aa67f689297e29f10a7587367b 100644 (file)
@@ -268,7 +268,7 @@ static int ASF_ReadObject_file_properties( stream_t *s, asf_object_t *p_obj )
     int      i_peek;
     uint8_t  *p_peek;
 
-    if( ( i_peek = stream_Peek( s, &p_peek,  92) ) < 92 )
+    if( ( i_peek = stream_Peek( s, &p_peek,  104) ) < 104 )
     {
        return VLC_EGENERIC;
     }