amd64/101248: vi(1) can crash in ncurses(3) on amd64

Roland Smith rsmith at xs4all.nl
Wed Aug 2 09:30:27 UTC 2006


The following reply was made to PR amd64/101248; it has been noted by GNATS.

From: Roland Smith <rsmith at xs4all.nl>
To: Yar Tikhiy <yar at comp.chem.msu.su>
Cc: FreeBSD-gnats-submit at freebsd.org
Subject: Re: amd64/101248: vi(1) can crash in ncurses(3) on amd64
Date: Wed, 2 Aug 2006 11:27:05 +0200

 --zYM0uCDKw75PZbzx
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Wed, Aug 02, 2006 at 08:50:47AM +0000, Yar Tikhiy wrote:
 >=20
 > >Number:         101248
 > >Category:       amd64
 > >Synopsis:       vi(1) can crash in ncurses(3) on amd64
 
 > >Environment:
 > System: FreeBSD sledge.freebsd.org 7.0-CURRENT FreeBSD 7.0-CURRENT #741: =
 Tue Aug 1 14:17:00 UTC 2006 root at sledge.freebsd.org:/h/src/sys/amd64/compil=
 e/SLEDGE amd64
 >=20
 > >How-To-Repeat:
 > 	In the following typescript, vi(1) was built with debugging symbols.
 >=20
 > -bash-2.05b$ yes | head -100 > 100.txt
 > -bash-2.05b$ ./nvi +101 100.txt
 
 I could not reproduce this crash on 6-STABLE amd64 (FreeBSD slackbox.xs4all=
 =2Enl 6.1-STABLE FreeBSD 6.1-STABLE #0: Tue May  9 22:46:51 CEST 2006     r=
 smith at slackbox.xs4all.nl:/usr/obj/usr/src/sys/RFS  amd64):
 
 slackbox:~$ yes | head -100 > 100.txt
 slackbox:~$ nvi +101 100.txt=20
 
 -c option, 1: Illegal address: only 100 lines in the file
 Press Enter to continue:=20
 
 Note that this is the standard nvi, not a debugging version.
 
 Roland
 --=20
 R.F.Smith                                   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
 
 --zYM0uCDKw75PZbzx
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.5 (FreeBSD)
 
 iD8DBQFE0G/pEnfvsMMhpyURAvOjAJ0SdJcKaURPih56rgfci5A4poeSBACgnx14
 R9rXtVREjjQvLnYudU/14sk=
 =J7tA
 -----END PGP SIGNATURE-----
 
 --zYM0uCDKw75PZbzx--


More information about the freebsd-amd64 mailing list