Commit bcfa0160 authored by Sebastian Ramacher's avatar Sebastian Ramacher

stupid me, I really did want to copy the string here

parent ca885e5a
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment