mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-27 13:46:01 +01:00
Merge branch 'fix-uninitialized-value' into 'develop'
Fix use of uninitialized value See merge request pwmt/zathura!57
This commit is contained in:
commit
b76227bb9c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue