From 0fbdaa31ac256825f9c00493d10f230d07dcb252 Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 19 Dec 2020 18:18:06 -0600 Subject: [PATCH] Security: free the memory of the environment variables map. Immediately after pushing my previous commit I suddenly noticed that I forgot to delete the newly added environment variables map. --- level_3/controller/c/private-rule.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/level_3/controller/c/private-rule.c b/level_3/controller/c/private-rule.c index 241a965..666ec89 100644 --- a/level_3/controller/c/private-rule.c +++ b/level_3/controller/c/private-rule.c @@ -491,6 +491,8 @@ extern "C" { if (status == F_child || status == F_signal) break; } // for + fl_string_maps_delete(&environment); + return status; } #endif // _di_controller_rule_execute_ -- 1.8.3.1