aboutsummaryrefslogtreecommitdiffstats
path: root/tests/fate/aac.mak
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-10-06 17:21:04 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-01-11 15:15:53 +0100
commitbdb5f6e7f8ea9b37e0dedd34b4ef1887c02d4db4 (patch)
tree568c8e0d6a1e66b01b31b9ef4f1b95c49e47c97f /tests/fate/aac.mak
parent566d7896c116f1a16935b5b28599598a2e69e113 (diff)
downloadffmpeg-bdb5f6e7f8ea9b37e0dedd34b4ef1887c02d4db4.tar.gz
avfilter/asrc_flite: Fix use-after-frees
When an flite filter instance is uninitialized and the refcount of the corresponding voice_entry reaches zero, the voice is unregistered, yet the voice_entry's pointer to the voice is not reset. (Whereas some other pointers are needlessly reset.) Because of this a new flite filter instance will believe said voice to already be registered, leading to use-after-frees. Fix this by resetting the right pointer instead of the wrong ones. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit 18ddb25c7a58404641de2f6aa68220bd509e376c)
Diffstat (limited to 'tests/fate/aac.mak')
0 files changed, 0 insertions, 0 deletions