Merge remote-tracking branch 'origin/fix/quality-v2' into integration/all-fixes-v2

This commit is contained in:
2026-07-30 19:04:12 +02:00
2 changed files with 14 additions and 9 deletions
+2 -1
View File
@@ -35,7 +35,8 @@ File* file_create(const char* path) {
return NULL;
}
strcpy(file->path, path);
memcpy(file->path, path, path_len);
file->path[path_len] = '\0';
file->data = data_create_reserve(0);
if (file->data == NULL) {
free(file->path);