Article View: gnu.utils.bug
Article #365Patch for ar.c
From: xochitl!argon!cheeks
Date: Mon, 14 Aug 1989 20:30
Date: Mon, 14 Aug 1989 20:30
19 lines
907 bytes
907 bytes
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
Technical Details
Message-ID:
<8908142031.AA00438@xochitl.uucp>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!uunet!tut.cis.ohio-state.edu!CENTRAL.SUN.COM!xochitl!argon!cheeksShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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