Merge branch 'fix-uninitialized-value' into 'develop'

Fix use of uninitialized value

See merge request pwmt/zathura!57
This commit is contained in:
Sebastian Ramacher 2022-08-20 13:54:57 +02:00
commit b76227bb9c

View File

@ -168,7 +168,7 @@ zathura_db_read_key_file_from_file(const char* path)
g_key_file_free(key_file);
return NULL;
}
g_strlcat(content, dummy_content, dummy_len + 1);
strcpy(content, dummy_content);
contentlen = dummy_len;
}