cdr@thor.acc.stolaf.edu (Craig D. Rice, St. Olaf College) (12/01/89)
When running the BIND 4.8.1 named from sutro.sfsu.edu with debugging enabled (-d 9), named gives a Bus Error. Named tries to reference zp->z_origin in printzoneinfo(), space for which had not yet been allocated. A diff to "ns_maint.c" follows: 260,264c260,263 < if (zp->z_origin) /* Have we been allocated yet? */ < if (zp->z_origin[0] == '\0') < fprintf(ddt,"origin ='.'"); < else < fprintf(ddt,"origin ='%s'", zp->z_origin); --- > if (zp->z_origin[0] == '\0') > fprintf(ddt,"origin ='.'"); > else > fprintf(ddt,"origin ='%s'", zp->z_origin); Just added a check to see if z_origin had been malloc'ed yet. Seems to work fine now. Craig --- Craig D. Rice UNIX Systems Specialist cdr@acc.stolaf.edu Academic Computer Center, St. Olaf College +1 507 663-3631 Northfield, MN 55057 USA