From: Todd C. Miller Subject: Re: vi(1) segfault with startup command bang containing % To: jerry Cc: tech@openbsd.org Date: Sat, 02 Aug 2025 14:15:17 -0600 On Sat, 02 Aug 2025 19:23:05 +0200, jerry wrote: > while using vi(1) I encountered a bug that caused it to sefault when a > specific command was present in a startup file (.nexrc/.exrc) or in a > startup environment variable (NEXINIT/EXINIT). > The bug also affects nvi(1) from ports. > The fix was just a null pointer check. > > The command has the form: > ! [some-parameters] % [some-parameters] > > For example: > NEXINIT='!ls %' vi test > > or adding !ls % in ~/.nexrc Committed, thanks! - todd