From 7348813d0af17acda440eb66c038f6bdd07c1a6e Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 23 Jul 2022 22:22:38 -0500 Subject: [PATCH] Security: Invalid read in firewall program during resource clean up. The total parameters define has the wrong size resulting in an invalid read. --- level_3/firewall/c/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/level_3/firewall/c/common.h b/level_3/firewall/c/common.h index 92b1ded..35fea27 100644 --- a/level_3/firewall/c/common.h +++ b/level_3/firewall/c/common.h @@ -400,7 +400,7 @@ extern "C" { macro_f_console_parameter_t_initialize(0, 0, firewall_command_show_s.string, F_false, f_console_type_other_e), \ } - #define firewall_total_parameters_d 15 + #define firewall_total_parameters_d 14 #endif // _di_firewall_defines_ #ifdef __cplusplus -- 1.8.3.1