Comprehensive fix: security, bugs, refactoring, tests, and rsync parity features #173

Merged
TapTap merged 16 commits from integration/all-fixes into main 2026-07-30 18:13:15 +02:00
Showing only changes of commit 05dab758cf - Show all commits
+1 -1
View File
@@ -148,7 +148,7 @@ int receive_thread(void* pipeline_context) {
}
char* full_path = path_cat(config->receive_root_directory, check_path);
struct stat st;
bool has_old = full_path && stat(full_path, &st) == 0;
bool has_old = full_path && lstat(full_path, &st) == 0;
bool match = has_old && (unsigned long long)st.st_size == check_size &&
(long long)st.st_mtime == check_mtime;
if (match)