Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!mailrus!umix!umich!mibte!gamma!sabre!faline!bellcore!u1100a!krohn From: krohn@u1100a.UUCP (Eric Krohn) Newsgroups: comp.sources.bugs Subject: Re: perl patch 18 the diff of correct and managled version Message-ID: <1823@u1100a.UUCP> Date: 22 Feb 88 22:44:31 GMT References: <294@ditmela.oz> Reply-To: krohn@u1100a.UUCP (Eric Krohn) Organization: Bell Communications Research, Piscataway, NJ Lines: 20 In article <294@ditmela.oz> worsley@ditmela.oz (Andrew Worsley) writes: ] ] ........ Now everything compiles, only perl dumps core in the ] middle of TEST. It complains about a Corrupt malloc pointer. Can anyone ] respond if they get perl dumping core on the same test? I too noticed this problem and spent last Saturday tracking it down. The problem is in the new size given to the second GROWSTR in str_gets. The previous weekend I tracked down the problem with the test script t/op.unshift. This was caused by aunshift not keeping the old array size before calling astore and having it resize the array. Both bugs cause malloc arena overwrite problems. I mailed fixes to Larry Wall, so hopefully we will see official patches for them soon. (Larry, you did get the mail, didn't you? E-mail being what it is :-) -- -- Eric J. Krohn krohn@ctt.ctt.bellcore.com or {allegra,bellcore,ihnp4}!u1100a!krohn Bell Communications Research, 444 Hoes Ln, Piscataway, NJ 08854