[FFmpeg-devel] [PATCH 1/2] fftools: do not access out of bounds filtergraph

Anton Khirnov anton at khirnov.net
Thu Oct 3 20:04:13 EEST 2024


Quoting Marvin Scholz (2024-10-01 02:57:11)
> The log message was logged for `filtergraphs[j]` which would cause a
> heap buffer overflow in certain circumstances.
> 
> Correctly it should be logged for the current filtergraph, so just
> use `fg` here.
> ---
>  fftools/ffmpeg_filter.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

LGTM and should be backported.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list