From 0bf57c683e4e2862029cee66829cde0b7279cc29 Mon Sep 17 00:00:00 2001 From: "Jordan K. Hubbard" Date: Wed, 20 Nov 1996 07:53:42 +0000 Subject: [PATCH] Got the bugger. Eric's now passing in a hint structure to dbopen() but forgot to zero the structure first, leaving hinfo.bsize undefined and causing a loop in __log2(). --- usr.sbin/sendmail/makemap/makemap.c | 1 + 1 file changed, 1 insertion(+) diff --git a/usr.sbin/sendmail/makemap/makemap.c b/usr.sbin/sendmail/makemap/makemap.c index 707c167327df..45e120278d47 100644 --- a/usr.sbin/sendmail/makemap/makemap.c +++ b/usr.sbin/sendmail/makemap/makemap.c @@ -312,6 +312,7 @@ main(argc, argv) #ifdef NEWDB case T_HASH: /* tweak some parameters for performance */ + bzero(&hinfo, sizeof(hinfo)); hinfo.nelem = 4096; hinfo.cachesize = dbcachesize;