From 8cb1d765b75403e242e307590842628aad7ad91b Mon Sep 17 00:00:00 2001 From: Kevin Day Date: Sat, 4 Mar 2023 19:29:45 -0600 Subject: [PATCH] Bugfix: Return result lost in Featureless Make for f_string_dynamic_append_nulless() call. There is a second call to f_string_dynamic_append_nulless() without checking the return status. This effectively hides any potential error. --- level_3/fake/c/private-build-load.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/level_3/fake/c/private-build-load.c b/level_3/fake/c/private-build-load.c index 91a7320..9172b8e 100644 --- a/level_3/fake/c/private-build-load.c +++ b/level_3/fake/c/private-build-load.c @@ -1549,7 +1549,9 @@ extern "C" { if (F_status_is_error_not(*status) && data->process.used) { *status = f_string_dynamic_append_nulless(data->process, values[i]); + } + if (F_status_is_error_not(*status)) { *status = f_string_dynamic_append_nulless(fake_build_stage_separate_s, values[i]); } -- 1.8.3.1