The "tune" and "setfilt" programs currently crash if an invalid command line argument is given (e.g. tune --foo or setfilt --foo). This happens because the longopts arrays passed into getopt_long are not terminated. I've added the missing terminations here.
The "tune" and "setfilt" programs currently crash if an invalid command line argument is given (e.g.
tune --foo
orsetfilt --foo
). This happens because thelongopts
arrays passed intogetopt_long
are not terminated. I've added the missing terminations here.