[FFmpeg-trac] #8147(undetermined:new): null pointer passed as argument bug at libavformat/subtitles.c
FFmpeg
trac at avcodec.org
Sun Sep 15 06:30:48 EEST 2019
#8147: null pointer passed as argument bug at libavformat/subtitles.c
-------------------------------------+-------------------------------------
Reporter: Suhwan | Type: defect
Status: new | Priority: important
Component: | Version: git-
undetermined | master
Keywords: ubsan | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
There's a null pointer passed as argument bug at libavformat/subtitles.c
{{{
libavformat/subtitles.c:197:11: runtime error: null pointer passed as
argument 1, which is declared to never be null
/usr/include/stdlib.h:828:30: note: nonnull attribute specified here
}}}
How to reproduce:
{{{
% ./ffmpeg_g -y -r 62 -i bc03b6a77ef2c3decfc000fd072c0af23351f271 -target
dv -map 0 -c copy -c: a:106 mov_text -disposition: a:20 wmv2 -aframes 89
-r 95 -ab 989k -ac 13 -b:v 520k output/tmp.wve
ffmpeg version N-94887-ge55018ee11 (git master)
built on ... ubuntu 18.04 with clang-6 and UBSAN option.
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/8147>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list