diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-27 18:02:24 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-04 18:01:01 +0200 |
commit | d5eb74b58d95de979c9fa6e2d24ffbc5ac275121 (patch) | |
tree | a778243810c97270409f47029b97b8e5027a15ae /libavcodec/indeo4data.h | |
parent | 8a61f66381e459d6b33334fb104a09e55d051b58 (diff) | |
download | ffmpeg-d5eb74b58d95de979c9fa6e2d24ffbc5ac275121.tar.gz |
avcodec/wmavoice: Don't initialize GetBitContext with buf == NULL
Happens when flushing. This triggers NULL + 0 (which is UB) in
init_get_bits_xe (which previously errored out, but the return value
has not been checked) and in copy_bits().
This fixes the wmavoice-(7|11|19)k FATE-tests with UBSan.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/indeo4data.h')
0 files changed, 0 insertions, 0 deletions