[FFmpeg-trac] #7982(undetermined:new): null pointer passed at frame_thread_encoder.c:213 and undefined behaviour at r210enc.c
FFmpeg
trac at avcodec.org
Mon Jul 1 04:50:35 EEST 2019
#7982: null pointer passed at frame_thread_encoder.c:213 and undefined behaviour
at r210enc.c
-------------------------------------+-------------------------------------
Reporter: Suhwan | Type: defect
Status: new | Priority: important
Component: | Version: git-
undetermined | master
Keywords: crash, | Blocked By:
r210enc |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
There's two null pointer passed as argument at
libavcodec/frame_thread_encoder.c:213:20: and undefined behaviour at
libavcodec/r210enc.c:69:28. (left shift of 522 by 22)
How to reproduce:
{{{
Run following cmd:
% ffmpeg_g -t 3 -y -i tmp.avi -map 0 -c:s:1 h263p -c:v r10k
-disposition:a r10k -disposition:s adpcm_adx -vframes 64 -aframes 81
tmp_.adx
ffmpeg version N-94142-g3b2082c663 Copyright (c) 2000-2019 the FFmpeg
developers
built with clang version 9.0.0 (https://github.com/llvm/llvm-project.git
442a120567a4bc6c59bc754f9edabfb770086f36)
}}}
Patches should be submitted to the ffmpeg-devel mailing list and not this
bug tracker.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/7982>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list