The libc path functions end up accessing this string.
The libc functions require NULL terminated strings.
if (F_status_is_error(status)) {
fll_error_print(main->error, F_status_set_fine(status), "f_string_dynamic_append", F_true);
}
+ else {
+ status = f_string_dynamic_terminate_after(&setting.path_pid);
+
+ if (F_status_is_error(status)) {
+ fll_error_print(main->error, F_status_set_fine(status), "f_string_dynamic_terminate_after", F_true);
+ }
+ }
}
if (F_status_is_error_not(status)) {