1
0
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:
Michael Niedermayer
2025-01-05 02:36:25 +01:00
parent 9685934184
commit 25a53dd099

View File

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