Re: out of memory crash when accessing broken .la files

2007-08-15 Thread Ralf Wildenhues
* Dirk Mueller wrote on Wed, Aug 15, 2007 at 10:51:54AM CEST: > On Wednesday, 15. August 2007, Ralf Wildenhues wrote: > > > Could you post such a corrupted .la file, preferably gzip'ed so that it > > won't be harmed by mail transport? How did it get corrupted BTW? > > The initial report came fro

Re: out of memory crash when accessing broken .la files

2007-08-15 Thread Dirk Mueller
On Wednesday, 15. August 2007, Ralf Wildenhues wrote: > Thanks for the report. Thanks for the reply! > Could you post such a corrupted .la file, preferably gzip'ed so that it > won't be harmed by mail transport? How did it get corrupted BTW? The initial report came from a customer. He faced a

Re: out of memory crash when accessing broken .la files

2007-08-14 Thread Ralf Wildenhues
Hello Dirk, Thanks for the report. * Dirk Mueller wrote on Tue, Aug 14, 2007 at 01:17:34PM CEST: > > when libtool .la files contain NUL bytes due to a corruption, there is a very > ugly memory eating loop triggered in libltdl. the problem is that it believes > the buffer was too small, and kee

out of memory crash when accessing broken .la files

2007-08-14 Thread Dirk Mueller
Hi, when libtool .la files contain NUL bytes due to a corruption, there is a very ugly memory eating loop triggered in libltdl. the problem is that it believes the buffer was too small, and keeps resizing it until the machine dies (or ulimits kill the process). the patch below should avoid