[FFmpeg-devel] [PATCH] libavformat/oggdec: Free stream private when header parsing fails.

Michael Niedermayer michael at niedermayer.cc
Wed May 11 04:19:51 CEST 2016

On Mon, May 09, 2016 at 03:27:29PM -0700, Chris Cunningham wrote:
> Leaking this private structure opens up the possibility that it may
> be re-used when parsing later packets in the stream. This is
> problematic if the later packets are not the same codec type (e.g.
> private allocated during Vorbis parsing, but later packets are Opus
> and the private is assumed to be the oggopus_private type in
> opus_header()).
> ---
>  libavformat/oggdec.c | 1 +
>  1 file changed, 1 insertion(+)



Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Why not whip the teacher when the pupil misbehaves? -- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160511/b00f691f/attachment.sig>

More information about the ffmpeg-devel mailing list