[FFmpeg-devel] [PATCH] ffserver: fixed deallocation bug in build_feed_streams
michael at niedermayer.cc
Fri May 27 00:41:20 CEST 2016
On Thu, May 26, 2016 at 08:29:56PM +0200, Gregor Riepl wrote:
> In ffserver.c:build_feed_streams(), the streams pointer is only
> correctly reset before deallocation when there is no error.
> This may cause ffserver to crash, because stream lives in static
> memory, not the heap.
> The patch duplicates the behaviour of the non-error case.
> ffserver.c | 2 ++
> 1 file changed, 2 insertions(+)
> 510c4bb249dcb8fd621a1fb1b94a8b43c1e8e11b 0001-ffserver-fixed-deallocation-bug-in-build_feed_stream.patch
> From 00c9203f0349dbae6e701104d5a7f6c4e6fa0159 Mon Sep 17 00:00:00 2001
> From: Gregor Riepl <onitake at gmail.com>
> Date: Tue, 24 May 2016 15:17:22 +0200
> Subject: [PATCH] ffserver: fixed deallocation bug in build_feed_streams
> Signed-off-by: Gregor Riepl <onitake at gmail.com>
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel