[FFmpeg-devel] Memory leak in rtmp_open()
michaelni at gmx.at
Mon Jan 13 22:56:22 CET 2014
On Mon, Jan 13, 2014 at 02:13:48PM +0200, Andrey Myznikov wrote:
> Hello all,
> attached is little path to libavformat/librtmp.c fixes potential
> memory and socket loss in rtmp_open().
> The reason is that RTMP_ConnectStream() does not call to
> RTMP_Close() on error.
> Observed actually with trial version of Adobe Flash Media Server
> limiting number of simultaneous connections.
its not safe to call RTMP_Close() on the fail: path ?
iam asking as this would be simpler
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel