Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site spanky.UUCP Path: utzoo!linus!decvax!harpo!eagle!mhuxi!houxm!ihnp4!we13!burl!spanky!ka From: ka@spanky.UUCP Newsgroups: net.news.b Subject: Re: V vnews 2.10.1 b Message-ID: <500@spanky.UUCP> Date: Sat, 1-Oct-83 23:20:25 EDT Article-I.D.: spanky.500 Posted: Sat Oct 1 23:20:25 1983 Date-Received: Sun, 2-Oct-83 22:26:07 EDT References: <230@flairvax.UUCP> Organization: Bell Labs, Holmdel, N. J. Lines: 12 The core dump is caused by an array overflow. The routine _amove contains the declarations: char rel[MAXPLEN + MAXLLEN + 50]; /* longest move is full screen */ char ho[MAXPLEN + MAXLLEN + 50]; This code assumes that all relative cursor motions can be performed using a single character sequence. This assumption is reasonable for horizontal motions but not for vertical ones. A simple fix is to change the array sizes to "MAXPLEN * 2 + MAXLLEN + 50", which will probably work for almost all terminals. A better fix would of course be to have the plodput routine check for overflow of array bounds. Kenneth Almquist