[FFmpeg-devel] [PATCH 1/3] avcodec/mjpegdec: Fix leak in case of invalid external Huffman tables
Michael Niedermayer
michael at niedermayer.cc
Sat Apr 3 18:42:39 EEST 2021
On Sat, Apr 03, 2021 at 04:17:29PM +0200, Andreas Rheinhardt wrote:
> When using external Huffman tables fails during init, the decoder
> reverts back to using the default Huffman tables; and when doing so,
> the current VLC tables leak because init_default_huffman_tables()
> doesn't free them before overwriting them.
>
> Sample:
> samples.ffmpeg.org/archive/all/avi+mjpeg+pcm_s16le++mjpeg-interlace.avi
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> libavcodec/mjpegdec.c | 1 +
> 1 file changed, 1 insertion(+)
probably ok
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20210403/b6568b28/attachment.sig>
More information about the ffmpeg-devel
mailing list