diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2025-01-05 02:36:25 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2025-01-08 23:23:23 +0100 |
commit | b72de492959fb19eab37368232e65a4371c367f7 (patch) | |
tree | 1d59069d16b5260ab851aadb8b4648d542ff94a5 | |
parent | cb60b29ac54e46080e1b9f71d50ee87dbf4d625b (diff) | |
download | ffmpeg-b72de492959fb19eab37368232e65a4371c367f7.tar.gz |
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>
-rw-r--r-- | libavfilter/vf_addroi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vf_addroi.c b/libavfilter/vf_addroi.c index de857eced4..d6765e9d8c 100644 --- a/libavfilter/vf_addroi.c +++ b/libavfilter/vf_addroi.c @@ -39,6 +39,7 @@ enum { static const char *const addroi_var_names[] = { "iw", "ih", + NULL, }; typedef struct AddROIContext { |