X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=ircd%2Fjupe.c;h=243ae626df4fd5072160ef12934b922c15575e6e;hb=refs%2Fheads%2Fupstream-ssl;hp=8cdaa9edad061875052ea4e3e0bacee0c95321c3;hpb=fc21303989a07d6091ef684150db29c49f682614;p=ircu2.10.12-pk.git diff --git a/ircd/jupe.c b/ircd/jupe.c index 8cdaa9e..243ae62 100644 --- a/ircd/jupe.c +++ b/ircd/jupe.c @@ -65,6 +65,7 @@ make_jupe(char *server, char *reason, time_t expire, time_t lastmod, ajupe = (struct Jupe*) MyMalloc(sizeof(struct Jupe)); /* alloc memory */ assert(0 != ajupe); + memset(ajupe, 0, sizeof(*ajupe)); DupString(ajupe->ju_server, server); /* copy vital information */ DupString(ajupe->ju_reason, reason); ajupe->ju_expire = expire;