Opened 5 years ago
Closed 5 years ago
#8147 closed defect (fixed)
null pointer passed as argument bug at libavformat/subtitles.c
Reported by: | Suhwan | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avformat |
Version: | git-master | Keywords: | ubsan |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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.
Attachments (2)
Change History (3)
by , 5 years ago
Attachment: | bc03b6a77ef2c3decfc000fd072c0af23351f271 added |
---|
by , 5 years ago
Attachment: | gdb-null_pointer-subtitles added |
---|
comment:1 by , 5 years ago
Component: | undetermined → avformat |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Fixed in 81b53913bbb97234e22187d1122948c351a3466d.
Note:
See TracTickets
for help on using tickets.
poc