commit - e29d198700a9e1c026d7f4b2601d127045adbe53
commit + 4123118d5a1a92e74fb82131b29f65d5067442dc
blob - da7ff844b50c14d1a17a21c9687aae9534d4a185
blob + bea4d619a8c967f8a0e6ae18de8a767000da7af8
--- src/ngircd/conf.c
+++ src/ngircd/conf.c
strlcpy(Conf_Chroot, CHROOT_DIR, sizeof(Conf_Chroot));
strcpy(Conf_CloakHost, "");
strcpy(Conf_CloakHostModeX, "");
- strcpy(Conf_CloakHostSalt, ngt_RandomStr(random, RANDOM_SALT_LEN));
+ strlcpy(Conf_CloakHostSalt, ngt_RandomStr(random, RANDOM_SALT_LEN),
+ sizeof(Conf_CloakHostSalt));
Conf_CloakUserToNick = false;
Conf_ConnectIPv4 = true;
#ifdef WANT_IPV6