NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/57482: vi(1) crashes reproducibly with a one liner with wl=72 and ts=8



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

From: RVP <rvp%SDF.ORG@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: bin/57482: vi(1) crashes reproducibly with a one liner with
 wl=72 and ts=8
Date: Wed, 8 Apr 2026 14:11:07 +0000 (UTC)

 On Thu, 22 Jun 2023, tlaronde%polynum.com@localhost wrote:
 
 > vi(1) crashes reproducibly with a oneliner, when wl=72 and ts=8 are set
 > when trying to go to the end of the line with '$' or, setting ts=4,
 > then going to the end of line and then resetting ts=8.
 > [...]
 >> How-To-Repeat:
 > env EXINIT='set nu showmatch ts=8 wl=72' vi /tmp/vi_crasher.txt
 >
 > $ vis -w /tmp/vi_crasher.txt:
 >
 > \011\011v_stack[nval].ival\040=\040v_stack[nval-1].ival\040+\040v_stack[nval-1].len\011\012
 >
 
 I believe Debian has a patch for this issue (must have an 80-column window to
 reproduce it):
 
 https://sources.debian.org/patches/nvi/1.81.6-23/26trailing_tab_segv.patch/
 
 -RVP
 



Home | Main Index | Thread Index | Old Index