History

avfilter/vf_addroi: Add missing NULL termination to addroi_var_names[]()

Fixes: out of array read

Michael Niedermayer committed 1 year ago

Commit b72de491 parent cb60b291 file · +1 −0Browse files

Showing the changes to libavfilter (1 of 1 file). Show all

Unified · Split

libavfilter/vf_addroi.c+1−0
@@ -39,6 +39,7 @@ enum { · 38 unmodified lines
39static const char *const addroi_var_names[] = {39static const char *const addroi_var_names[] = {
40 "iw",40 "iw",
41 "ih",41 "ih",
42 NULL,
42};43};
43 44
44typedef struct AddROIContext {45typedef struct AddROIContext {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t