From: Laurent Aimar Date: Mon, 16 Jul 2007 20:45:20 +0000 (+0000) Subject: Fixed access to (potentially) uninitialized data (close #1246, reported by aurelien). X-Git-Tag: 0.9.0-test0~6821 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=49c878c55d7e70fbae2510c4242ad3eacdc16e06;p=vlc Fixed access to (potentially) uninitialized data (close #1246, reported by aurelien). --- diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c index d0404e7878..943c638091 100644 --- a/modules/demux/asf/libasf.c +++ b/modules/demux/asf/libasf.c @@ -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; }