[FFmpeg-devel] [PATCH 1/3] avcodec/idctdsp: Transmit studio_profile to init instead of using AVCodecContext profile

Michael Niedermayer michael at niedermayer.cc
Wed May 30 18:54:41 EEST 2018


On Mon, May 28, 2018 at 10:29:56PM +0200, Michael Niedermayer wrote:
> These 2 fields are not always the same, it is simpler to always use the same field
> for detecting studio profile
> 
> Fixes: null pointer dereference
> Fixes: ffmpeg_crash_3.avi
> 
> Found-by: Thuan Pham <thuanpv at comp.nus.edu.sg>, Marcel Böhme, Andrew Santosa and Alexandru RazvanCaciulescu with AFLSmart
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  libavcodec/idctdsp.c   | 2 +-
>  libavcodec/idctdsp.h   | 2 ++
>  libavcodec/mpegvideo.c | 2 ++
>  3 files changed, 5 insertions(+), 1 deletion(-)

will apply patchset

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

Opposition brings concord. Out of discord comes the fairest harmony.
-- Heraclitus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180530/a5119933/attachment.sig>


More information about the ffmpeg-devel mailing list