Files
FFmpeg/libavfilter
Martin Mirchev 58c989a73d avfilter/avf_concat: reject the next command on the last segment
process_command() called flush_segment() without checking that there is a
next segment. On the last segment this moved cur_idx past the inputs while
the outputs still wanted frames, so activate() accessed cat->in[] and
ctx->inputs[] out of bounds and crashed, e.g.

  ffmpeg -f lavfi -i "testsrc2=d=0.2[a];testsrc2=d=1[b];[a][b]concat=n=2,sendcmd=c='0.3 concat next'" -f null -

Fail the command instead.

Signed-off-by: Martin Mirchev <mmirchev@comp.nus.edu.sg>
2026-11-06 01:58:48 +00:00
..
2026-10-24 23:45:47 +00:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
2025-10-16 18:41:19 +02:00
2026-05-15 20:29:29 +02:00
2026-05-15 20:29:29 +02:00
…
…
…
…
…
…
2026-09-16 19:02:27 +00:00
…
…
…
2026-10-14 17:59:13 +00:00