[FFmpeg-devel] [PATCH] ffserver: fixed deallocation bug in build_feed_streams

Gregor Riepl onitake at gmail.com
Thu May 26 20:29:56 CEST 2016

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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffserver-fixed-deallocation-bug-in-build_feed_stream.patch
Type: text/x-patch
Size: 800 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160526/05724ff3/attachment.bin>

More information about the ffmpeg-devel mailing list