Change #278880
| Category | ffmpeg |
| Changed by | Ayoub Nabil Boubagrat <237098474+ayoubnabil@users.noreply.github.com> |
| Changed at | Fri 21 Aug 2026 20:11:48 |
| Repository | https://git.ffmpeg.org/ffmpeg.git |
| Project | ffmpeg |
| Branch | master |
| Revision | cd4fc473be3ca20704615d8ea110effe7fe11e13 |
Comments
avfilter/af_afir: clamp initial ir selection the ir option may exceed nbirs because its static range is independent of the configured number of impulse responses. init() only clamps prev_selir, leaving selir able to index ctx->inputs out of range. with the default nbirs=1, afir=ir=1 reads ctx->inputs[2] and crashes. clamp selir like process_command() and add a fate test. Signed-off-by: Ayoub Nabil Boubagrat <237098474+ayoubnabil@users.noreply.github.com>
Changed files
- libavfilter/af_afir.c
- tests/fate/filter-audio.mak