[comp.sources.d] unzip for AIX2.2.1/RT

ron@woan.austin.ibm.com (Ronald S. Woan) (12/21/89)

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 +