#7981 closed defect (fixed)
null pointer passed as argument at libavcodec/frame_thread_encoder.c:213:20
Reported by: | Suhwan | Owned by: | |
---|---|---|---|
Priority: | important | Component: | avcodec |
Version: | git-master | Keywords: | ubsan |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
Summary of the bug:
There are 2 null pointer passed as argument at libavcodec/frame_thread_encoder.c:213:45 and a division by zero at libavformat/rawenc.c:70:50.
How to reproduce:
Run the following cmd: % ffmpeg_g -t 0 -stream_loop 20 -y -r 49 -i tmp.avi -map 0 -c:v v408 -c:s:8 pcm_s8 -disposition:a cinepak -disposition:v:109 ffv1 -aframes 38 -ar 48000 -b:v 627 tmp_.adx ffmpeg version: N-94137-g89b96900fa 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.
Attachments (2)
Change History (5)
by , 5 years ago
by , 5 years ago
Attachment: | gdb_log_7981 added |
---|
comment:1 by , 5 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | ubsan added; Null Pointer passed Division by Zero ASAN FFMpeg avformat removed |
comment:2 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Finally committed as e82a619c2a154ae6e3e3a81af55977bd5a46660e
comment:3 by , 5 years ago
Please confirm if version 4.0.0 of ffmpeg is affected by the above described vulnerability?
Note:
See TracTickets
for help on using tickets.
Patch sent.