avfilter/vf_addroi: Add missing NULL termination to addroi_var_names[]()

Fixes: out of array read

Found-by: Elias Myllymäki <elias.myllymaki04p@gmail.com>
Reviewed-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit b72de49295)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Michael Niedermayer 2025-01-05 02:36:25 +01:00
parent 5129ae45bf
commit 553517868d
No known key found for this signature in database
GPG key ID: B18E8928B3948D64

View file

@ -39,6 +39,7 @@ enum {
static const char *const addroi_var_names[] = {
"iw",
"ih",
NULL,
};
typedef struct AddROIContext {