Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!brutus.cs.uiuc.edu!uakari.primate.wisc.edu!nic.MR.NET!thor.acc.stolaf.edu!cdr From: cdr@thor.acc.stolaf.edu (Craig D. Rice, St. Olaf College) Newsgroups: comp.sys.next Subject: Fix for NeXT-1.0 BIND 4.8.1 Message-ID: <9232@thor.acc.stolaf.edu> Date: 1 Dec 89 15:14:00 GMT Sender: cdr@thor.acc.stolaf.edu Reply-To: cdr@thor.acc.stolaf.edu (Craig D. Rice, St. Olaf College) Organization: St. Olaf College, Northfield, MN Lines: 27 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