[FFmpeg-devel] [PATCH 2/2] avformat/concatdec: Check recursion depth
Michael Niedermayer
michael at niedermayer.cc
Mon Jul 7 17:58:33 EEST 2025
On Mon, Jul 07, 2025 at 01:05:35PM +0200, Nicolas George wrote:
> Michael Niedermayer (HE12025-07-07):
> > This variant is easy backportable but is concatdec specific
> >
> > Fixes: self_ref.ffconcat
> > Reported-by: Yuhao Jiang <danisjiang at gmail.com>
> > Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> > ---
> > libavformat/concatdec.c | 11 +++++++++++
> > 1 file changed, 11 insertions(+)
>
> What use case is it meant to fix?
not overflowing the stack from unlimited recursion
(on some platforms it will stop by exhausting file ids first but we should
not rely on that)
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Some Animals are More Equal Than Others. - George Orwell's book Animal Farm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20250707/036860ab/attachment.sig>
More information about the ffmpeg-devel
mailing list