unzip for AIX2.2.1/RT

Ronald S. Woan ron at woan.austin.ibm.com
Thu Dec 21 05:07:54 AEST 1989


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 at woan.austin.ibm.com +
+ outside of IBM       @cs.utexas.edu:ibmchs!auschs!woan.austin.ibm.com!ron +
+ last resort                                        woan at peyote.cactus.org +



More information about the Comp.unix.aix mailing list