perl patch 18 the diff of correct and managled version
Eric Krohn
krohn at u1100a.UUCP
Tue Feb 23 08:44:31 AEST 1988
In article <294 at ditmela.oz> worsley at 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 at ctt.ctt.bellcore.com or {allegra,bellcore,ihnp4}!u1100a!krohn
Bell Communications Research, 444 Hoes Ln, Piscataway, NJ 08854
More information about the Comp.sources.bugs
mailing list