mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-23 23:21:06 +01: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>
This commit is contained in:
parent
cb60b29ac5
commit
b72de49295
1 changed files with 1 additions and 0 deletions
|
|
@ -39,6 +39,7 @@ enum {
|
|||
static const char *const addroi_var_names[] = {
|
||||
"iw",
|
||||
"ih",
|
||||
NULL,
|
||||
};
|
||||
|
||||
typedef struct AddROIContext {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue