if (p == NULL) break;
reason = p;
- ban = Memory_safeMalloc(1, sizeof(ban_t));
- memset(ban, 0, sizeof(ban_t));
+ ban = Memory_safeCalloc(1, sizeof(ban_t));
SSLi_hex2hash(hexhash, ban->hash);
if (inet_pton(AF_INET, address, &ban->address) == 0) {
if (inet_pton(AF_INET6, address, &ban->address) == 0) {