ftp.nice.ch/peanuts/GeneralData/Usenet/news/1989/CSN-89.tar.gz#/comp-sys-next/1989/Dec/Fix-for-NeXT-1.0-BIND-4.8.1

This is Fix-for-NeXT-1.0-BIND-4.8.1 in view mode; [Up]


Date: Sun 01-Dec-1989 15:14:00 From: Unknown Subject: Fix for NeXT-1.0 BIND 4.8.1 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 >From: rkc@XN.LL.MIT.EDU (rkc)

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Marcel Waldvogel and Netfuture.ch.