Fixes: out of array read
Found-by: Elias Myllymäki <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
---
libavfilter/vf_addroi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavfilter/vf_addroi.c b/libavfilter/vf_addroi.c
index de857eced44..d6765e9d8cb 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 {
--
2.47.0
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".