[vlc-devel] [PATCH] check for crazy values in rtsp npt range

Sébastien Escudier sebastien-devel at celeos.eu
Wed Mar 14 17:03:17 CET 2012


On Wed, 2012-03-14 at 17:44 +0200, Rémi Denis-Courmont wrote:
> d_length is rounded to an integer.

Ha ok.
Then I could do :

if(d_length-0.5 > INT64_MAX)
    *pi64 = INT64_MAX;

to be safe ?





More information about the vlc-devel mailing list