From: Kevin Day Date: Sun, 9 Mar 2025 20:57:58 +0000 (-0500) Subject: Security: Incorrect variable printed in private_fl_directory_do_recurse(). X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=77d46cfa712bd678c887138995c19dc0f7b0311f;p=fll Security: Incorrect variable printed in private_fl_directory_do_recurse(). This bug is considered a security issue because it is printing potentially unused memory addresses. --- diff --git a/level_1/fl_directory/c/private-directory.c b/level_1/fl_directory/c/private-directory.c index 42b9eac..bd79bb5 100644 --- a/level_1/fl_directory/c/private-directory.c +++ b/level_1/fl_directory/c/private-directory.c @@ -132,7 +132,7 @@ extern "C" { recurse->action(recurse, list[k]->array[i], flag_actions[j] | flags[k]); if (F_status_is_error(recurse->state.status)) { - private_inline_fl_directory_do_handle(recurse, recurse->listing.directory.array[i], flag_actions[j] | flags[k]); + private_inline_fl_directory_do_handle(recurse, list[k]->array[i], flag_actions[j] | flags[k]); if (F_status_is_error(recurse->state.status)) break; }