[vlc-devel] [PATCH] stream: Fix segfault caused by invalid seek

Jean-Baptiste Kempf jb at videolan.org
Thu Feb 7 15:33:33 CET 2013


On 06 Feb, Rafaël Carré wrote :
> -        if( AStreamRefillStream( s ) && i_pos == tk->i_end )
> +        if( AStreamRefillStream( s ) && i_pos >= tk->i_end )
>              return VLC_EGENERIC;

Seems sane, no?

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list