vlc | branch: master | Filip Roséen <[email protected]> | Tue Jan 10 13:52:40 2017 +0100| [96fd5b53a8511be84811bce8c2b16af93f59f7cc] | committer: Thomas Guillem
input/es_out: fix potential signed integer-overflow The second argument to ES_OUT_SET_EPG_TIME is documented as int64_t, as such there is nothing that guarantees that the value will fit inside an int. Signed-off-by: Thomas Guillem <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96fd5b53a8511be84811bce8c2b16af93f59f7cc --- src/input/es_out.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/es_out.c b/src/input/es_out.c index 1eed2b2..de9a883 100644 --- a/src/input/es_out.c +++ b/src/input/es_out.c @@ -2523,7 +2523,7 @@ static int EsOutControlLocked( es_out_t *out, int i_query, va_list args ) } case ES_OUT_SET_EPG_TIME: { - int i64 = va_arg( args, int64_t ); + int64_t i64 = va_arg( args, int64_t ); EsOutEpgTime( out, i64 ); return VLC_SUCCESS; _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
