Path: utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!CENTRAL.SUN.COM!xochitl!argon!cheeks From: xochitl!argon!cheeks@CENTRAL.SUN.COM Newsgroups: gnu.utils.bug Subject: Patch for ar.c Message-ID: <8908142031.AA00438@xochitl.uucp> Date: 14 Aug 89 20:30:53 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 19 Following is a patch to ar.c which was necessary to avoid a subsequent null pointer reference (on an HP9000s300 under hpux 6.[25] - probably others). *** ar.c.orig Sun Mar 5 16:53:47 1989 --- ar.c Thu Aug 10 11:15:44 1989 *************** *** 800,805 **** --- 800,806 ---- else { struct mapelt *this = (struct mapelt *) xmalloc (sizeof (struct mapelt)); + bzero (this, sizeof (struct mapelt)); this->info.name = "__.SYMDEF"; this->info.offset = 0; Mark Costlow ..texsun!xochitl!cheeks