Re: [Fwd: Bug#334292: Solution to lftp double-free-on-put]
"Alexander V. Lukyanov" <[email protected]> Mon, 17 Oct 2005 16:59:11 +0400
| Newsgroups | gmane.network.lftp.devel |
|---|---|
| Message-ID | <[email protected]> |
> > The below patch fixes this by restarted the Schedule() loop if we've > > deleted anything and were not at the end of the chain. (It also > > protects the delete call against being called on 0x0, but that might > > be a usual idiom in C++.) Thanks for the patch. I have used a different approach to fix the problem. Released today 3.3.2 version should not have this bug. > > The below patch is actually fixing an unitialised value error > > that valgrind picked up while I was debugging this. I have applied this one. Thanks! > > tty=isatty(0); > > ctty=(tcgetpgrp(0)!=(pid_t)-1); > > + add_newline=false; -- Alexander. | http://www.yars.free.net/~lav/