[vlc-devel] [PATCH] input/control: fix off-by-one bounds check

Jean-Baptiste Kempf jb at videolan.org
Wed Mar 1 17:46:02 CET 2017


Hello,

On Wed, 1 Mar 2017, at 09:52, Filip Roséen wrote:
> -            if( !priv->i_title || priv->i_title < *pi_title_to_fetch )
> +            if( priv->i_title <= *pi_title_to_fetch )

Why remove the first part of the test?

-- 
Jean-Baptiste Kempf -  President
+33 672 704 734


More information about the vlc-devel mailing list