Subject: Re: curses fix for sysinst
To: David Laight <david@l8s.co.uk>
From: Alistair Crooks <agc@wasabisystems.com>
List: tech-install
Date: 07/29/2003 19:04:26
On Tue, Jul 29, 2003 at 02:28:06PM +0100, David Laight wrote:
> On Tue, Jul 29, 2003 at 10:35:42AM +0100, David Laight wrote:
> > I think I've found what causes sysinst to (try to) coredump when
> > asked to display the list of files.
> 
> Further thoughts show that this isn't the relevant bug :-(
> AFAICT this code doesn't have lines != 1 when called by sysinst.

Well, I don't know if "lines" could ever be other than 1 when calling
this curses code, but, just in case it was, shouldn't we be using
memmove(3) rather than memcpy(3)?

Regards,
Alistair