Commit 1cc0e3cf 1cc0e3cf63fbef92cca5c8e62f43ac1f316d9f01 by Sergey Poznyakoff

(sieve_interp_alloc): Fill allocalted memory with zeroes.

1 parent 9ad5b855
......@@ -54,6 +54,7 @@ int sieve_interp_alloc(sieve_interp_t **interp, void *interp_context)
if (i == NULL) {
return SIEVE_NOMEM;
}
memset (i, 0, sizeof (sieve_interp_t));
i->redirect = i->discard = i->reject = i->fileinto = i->keep = NULL;
i->getsize = NULL;
......