From: Kevin Day Date: Sun, 27 Sep 2020 01:37:54 +0000 (-0500) Subject: Bugfix: incorrect read. X-Git-Tag: 0.5.1~55 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=a2fc38bd9cad6d4ec72e7b228f663f06f74bc5f1;p=fll Bugfix: incorrect read. The at variable is already being checked to be out of range. Do not attempt to then check the variable in the array. --- diff --git a/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c b/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c index 3412eb8..13254ae 100644 --- a/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c +++ b/level_3/fss_extended_list_read/c/private-fss_extended_list_read.c @@ -380,7 +380,7 @@ extern "C" { if (depth_setting.index_at > 0) { if (depth_setting.value_at >= items->used) { - if (names[depth_setting.value_at] && data->parameters[fss_extended_list_read_parameter_total].result == f_console_result_found) { + if (data->parameters[fss_extended_list_read_parameter_total].result == f_console_result_found) { fprintf(f_type_output, "0%c", f_string_eol[0]); }