[FFmpeg-devel] [PATCH] lavu/frame: fix malloc error path in av_frame_copy_props()

Michael Niedermayer michaelni at gmx.at
Mon Dec 15 05:31:07 CET 2014


On Mon, Dec 15, 2014 at 04:32:58AM +0100, wm4 wrote:
> The error path frees all side data, but forgets to reset the side data
> count. This can blow up later in av_frame_unref() and free_side_data().
> ---
>  libavutil/frame.c | 1 +
>  1 file changed, 1 insertion(+)

applied

thanks

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Everything should be made as simple as possible, but not simpler.
-- Albert Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141215/14ec4547/attachment.asc>


More information about the ffmpeg-devel mailing list