--- - branch: MAIN date: Tue Jul 7 10:58:43 UTC 2020 files: - new: '1.7' old: '1.6' path: src/external/bsd/nvi/dist/vi/v_txt.c pathrev: src/external/bsd/nvi/dist/vi/v_txt.c@1.7 type: modified id: 20200707T105843Z.c3a6fdae8ece2bf2c253a211b2df6bf50b37c212 log: | PR bin/55468 Fix crash due to out-of-bounds access with Ctrl-W. PR is only for nottywerase, but also fix ttywerase case, taken from OpenBSD via nvi2: http://cvsweb.openbsd.org/cgi-bin/cvsweb/src/usr.bin/vi/vi/v_txt.c#rev1.23 https://github.com/lichray/nvi2/commit/5d5365d3585f45651f9b4a366391798a91393337 Also, comment there is no worry for altwerase specific code, which seems suspicious at a glance. Reported by Azuma OKAMOTO. Thanks for detailed explanation how to reproduce the problem! module: src subject: 'CVS commit: src/external/bsd/nvi/dist/vi' unixtime: '1594119523' user: rin