Article View: comp.sources.d
Article #5103unzip for AIX2.2.1/RT
From: Ronald S. Woan
Date: Wed, 20 Dec 1989 18:07
Date: Wed, 20 Dec 1989 18:07
15 lines
1427 bytes
1427 bytes
I finally took the time to see why unzip (available from simtel20.arpa in pd2:<misc.unix>) core dumped under AIX 2.2.1/RT. It seems that the two realloc calls for the comment tags would cause a segmentation fault if handed a size field of zero on some occasions. You can probably solve this with an if statement but I just changed it to realloc the requested size plus 1 (what's an extra byte among friends). Anyways, all is right with the world once again. Ron +-----All Views Expressed Are My Own And Are Not Necessarily Shared By------+ +------------------------------My Employer----------------------------------+ + Ronald S. Woan (IBM VNET)WOAN AT AUSTIN, (AUSTIN)ron@woan.austin.ibm.com + + outside of IBM @cs.utexas.edu:ibmchs!auschs!woan.austin.ibm.com!ron + + last resort woan@peyote.cactus.org +
Technical Details
Message-ID:
<1191@awdprime.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!woan.austin.ibm.com!ronShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!cs.utexas.edu!ut-emx!ibmchs!auschs!awdprime!woan.austin.ibm.com!ron From: ron@woan.austin.ibm.com (Ronald S. Woan) Newsgroups: comp.sources.d,comp.sys.ibm.pc.rt,comp.unix.aix Subject: unzip for AIX2.2.1/RT Keywords: realloc size field must be non-zero Message-ID: <1191@awdprime.UUCP> Date: 20 Dec 89 18:07:54 GMT Sender: news@awdprime.UUCP Reply-To: @cs.utexas.edu:ibmchs!auschs!woan.austin.ibm.com!ron Followup-To: comp.sources.d Organization: IBM-Austin, AWD Lines: 15