You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-12-25 22:17:24 +02:00
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:
@@ -38,6 +38,7 @@ enum {
|
||||
static const char *const addroi_var_names[] = {
|
||||
"iw",
|
||||
"ih",
|
||||
NULL,
|
||||
};
|
||||
|
||||
typedef struct AddROIContext {
|
||||
|
||||
Reference in New Issue
Block a user