[vlc-devel] commit: Really fix the real overflow ( Rémi Denis-Courmont )

Rémi Denis-Courmont rdenis at simphalempin.com
Tue Dec 2 12:07:30 CET 2008


On Mon,  1 Dec 2008 20:47:24 +0100 (CET), git at videolan.org (git version
control) wrote:
> @@ -921,14 +921,14 @@ static void ReadRealIndex( demux_t *p_demux )
>  
>      msg_Dbg( p_demux, "Real Index : num : %d ", i_index_count );
>  
> -    if( i_index_count == 0 )
> +    if( i_index_count > ( 0xffffffff / sizeof( rm_index_t ) ) )
>          return;

Doh. git-commit without -a again. This should be 'i_index_count >='...

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list