mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2025-01-29 23:14:57 +01:00
stupid me, I really did want to copy the string here
This commit is contained in:
parent
ca885e5a27
commit
bcfa016097
1 changed files with 1 additions and 1 deletions
|
@ -328,7 +328,7 @@ zathura_db_read_key_file_from_file(const char* path)
|
|||
|
||||
free(content);
|
||||
content = malloc(sizeof(char) * (dummy_len + 1));
|
||||
content = strncat(content, dummy_content, dummy_len + 1);
|
||||
content = memcpy(content, dummy_content, dummy_len + 1);
|
||||
contentlen = dummy_len;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue