nvi 1.81.6 SlackBuild with Debian and upstream patches for Slackware-current
- Shell 100%
| nvi | ||
| LICENSE | ||
| README | ||
nvi-slackware
=============
nvi 1.81.6 SlackBuild with Debian and upstream patches for
Slackware-current.
Based on Patrick Volkerding's build 4, which merged the Debian
1.81.6-24 patchset. This repo adds upstream patches on top.
Additional upstream patches
---------------------------
0043 - ex_comm_search: avoid potential buffer overflow
Commit: 62f628323d
Source: https://repo.or.cz/nvi.git/commit/62f628323d
0045 - avoid invalid access in filename expansion with missing file
Commit: 401bfbf750
Source: https://repo.or.cz/nvi.git/commit/401bfbf750
0046 - ex_aci: free local TEXTH structure
Commit: 0875b9abaa
Source: https://repo.or.cz/nvi.git/commit/0875b9abaa
0047 - screen_end: free line cache
Commit: 69e8a792561
Source: https://repo.or.cz/nvi.git/commit/69e8a792561
0048 - file_spath: detect errors during stat
Commit: 8e8d24e682
Source: https://repo.or.cz/nvi.git/commit/8e8d24e682
Supersedes the downstream 08lfs.patch (see below).
Patches superseded by upstream
------------------------------
08lfs.patch -> 0048 (commit 8e8d24e682)
The Debian/Slackware 08lfs.patch was a downstream workaround
that only handled the EOVERFLOW case (>2GB files on non-LFS
builds) at a single call site in file_spath().
Sven's upstream fix addresses the underlying defect: stat()
failures other than ENOENT were being silently treated as
"file does not exist", which could lead to overwrites in
several other error cases (EACCES, ENAMETOOLONG, EIO, etc.).
08lfs.patch has been removed in favour of the upstream fix.
Patch count
-----------
Slackware build 4: 41 patches (31 Debian + 7 upstream + 3 GCC)
This repo: 45 patches (-1 superseded, +5 upstream)
Build and test
--------------
Tested on Slackware-current x86_64, GCC 15, kernel 7.0.3.
All patches apply cleanly. No regressions observed.
References
----------
nvi upstream: https://repo.or.cz/nvi.git
Debian source: https://salsa.debian.org/debian/nvi
Slackware nvi: slackware64-current/source/ap/nvi/