#735673 nvi: large tabstop causes segmentation fault

Package:
nvi
Source:
nvi
Description:
4.4BSD re-implementation of vi
Submitter:
Kusanagi Kouichi
Date:
2018-12-04 20:51:05 UTC
Severity:
normal
#735673#5
Date:
2014-01-17 11:17:20 UTC
From:
To:
Steps to reproduce:

1. Open the attached text file with nvi
2. Set tabstop to a large number. For example, :set tabstop=1000
3. Scroll forward by control-f
4. Scroll backward by control-b

The attached patch fixed the segmentation fault. But I don't know if
this is proper fix.

#735673#8
Date:
2018-12-04 20:49:17 UTC
From:
To:
Hi Kusanagi,

I could not reproduce this problem on Debian Unstable with nvi 1.81.6-14
installed. Could you please try again and see if the problem is fixed?

Thanks!