FFmpeg/libavfilter
Andreas Rheinhardt bdb5f6e7f8 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)
2022-01-11 15:15:53 +01:00
..
2021-01-01 15:25:48 +01:00
2021-03-01 06:10:44 +01:00
2021-03-06 12:42:16 +01:00
2021-01-17 12:06:01 +01:00
2021-01-17 12:06:01 +01:00
2021-03-06 12:41:30 +01:00
2021-02-07 11:48:28 +01:00
2021-02-18 09:59:37 +08:00
2021-01-25 00:48:35 +01:00
2021-01-01 15:25:48 +01:00
2021-03-06 12:42:16 +01:00
2021-02-11 00:45:08 +01:00
2021-02-08 11:06:29 +01:00
2021-01-26 12:19:09 +01:00
2021-02-18 09:59:37 +08:00
2020-05-23 15:52:27 +02:00
2021-02-16 22:26:56 +01:00
2021-03-01 06:10:44 +01:00