Displaying 1 result from an estimated 1 matches for "do_command6".
Did you mean:
do_command
2007 Feb 14
0
[Bug 545] New: Array subscript is above array bounds
...d in
2 more places in ip6tables.c:
[ function register_match6() ]
/* Revision field stole a char from name. */
if (strlen(me->name) >= IP6T_FUNCTION_MAXNAMELEN-1) {
fprintf(stderr, "%s: target `%s' has invalid name\n",
program_name, me->name);
exit(1);
}
[ function do_command6() ]
if (chain && strlen(chain) > IP6T_FUNCTION_MAXNAMELEN)
exit_error(PARAMETER_PROBLEM,
"chain name `%s' too long (must be under %i chars)",
chain, IP6T_FUNCTION_MAXNAMELEN);
I cannot determine if changing "char name[IP6T_FUNCTION_MAXNAMELEN-1];" into...