aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/indeo4data.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-27 18:02:24 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-04 18:01:01 +0200
commitd5eb74b58d95de979c9fa6e2d24ffbc5ac275121 (patch)
treea778243810c97270409f47029b97b8e5027a15ae /libavcodec/indeo4data.h
parent8a61f66381e459d6b33334fb104a09e55d051b58 (diff)
downloadffmpeg-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