mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-10 15:53:45 +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
@ -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 New Issue
Block a user