[FFmpeg-devel] [FFmpeg][PATCH] libswscale/utils.c: Fix bug #8255

Michael Niedermayer michaelni at gmx.at
Sun Feb 9 22:25:07 EET 2020


On Mon, Feb 10, 2020 at 12:03:09AM +0530, gautamramk at gmail.com wrote:
> From: Gautam Ramakrishnan <gautamramk at gmail.com>
> 
> Bug #8255 points out a double free error in libwscale/utils.c file.
> The double free is because the pointer to cascaded_context of an
> sw_context is not set to NULL after freeing it. When the sw_context
> is later freed, sws_freeContext is called on the cascaded_context,
> causing a double free.
> ---
>  libswscale/utils.c | 1 +
>  1 file changed, 1 insertion(+)

will apply

thx

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

Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200209/e210adc3/attachment.sig>


More information about the ffmpeg-devel mailing list