--- a/libidav/config.c Sun Jan 28 20:47:40 2024 +0100 +++ b/libidav/config.c Mon Jan 29 10:41:00 2024 +0100 @@ -392,6 +392,7 @@ DavCfgRepository* dav_repository_new(DavConfig *config) { DavCfgRepository *repo = cxMalloc(config->mp->allocator, sizeof(DavCfgRepository)); + memset(repo, 0, sizeof(DavCfgRepository)); repo->decrypt_name.value = false; repo->decrypt_content.value = true; repo->decrypt_properties.value = false;