[vlc-devel] [PATCH] stream_filter: fix null dereference by modules/demux/mpeg/ts.c
remi at remlab.net
Mon Aug 24 19:16:36 CEST 2020
Le maanantaina 24. elokuuta 2020, 20.02.04 EEST Francois Cartegnie a écrit :
> Le 24/08/2020 à 15:50, Rémi Denis-Courmont a écrit :
> > Even if you know that the stream is actually stream filter, you don't know
> > what state it left the underlying stream in (e.g., set some PID
> > filtering), so there's nothing you can and should do with it.
> There's no reason for not being able to "stream filter" a demux stream,
> in the demux, without causing a double free.
Anything, demux or other, can filter a stream that it owns.
The demuxer doesn't own its source though. It borrows it from its own owner.
You're using an API that does not do what you need.
That's not the fault of the API.
More information about the vlc-devel