RootCauseunvalidated
chmod(output_filename, buf.st_mode) and optionally set_times(output_filename, &buf). Tension: The path is not revalidated at the metadata-update stage. Outcome: This matches a classic TOCTOU/path-race pattern.
79570638-3858-498c-ae2f-9ccf7c4e6bc6
chmod(output_filename, buf.st_mode) and optionally set_times(output_filename, &buf). Tension: The path is not revalidated at the metadata-update stage. Outcome: This matches a classic TOCTOU/path-race pattern.