Fix 11 Gitea issues — bugs, quality, security, and refactoring #47

Merged
TapTap merged 7 commits from fix/gitea-issues into main 2026-07-20 17:51:22 +02:00
Showing only changes of commit 9e1afd0764 - Show all commits
+1 -1
View File
@@ -414,7 +414,7 @@ bool to_disk(const char* path, const void* data, unsigned long long data_size) {
char* path_dup = str_dup(path);
if (!path_dup)
return false;
char* dir_result = dirname(path_dup);
const char* dir_result = dirname(path_dup);
char* directory = str_dup(dir_result);
free(path_dup);
if (!directory)