Check tkp->output != NULL before taking strlen for both command mappings
authortb <tb@openbsd.org>
Fri, 22 Apr 2022 15:50:07 +0000 (15:50 +0000)
committertb <tb@openbsd.org>
Fri, 22 Apr 2022 15:50:07 +0000 (15:50 +0000)
commiteaad74708b37e634785dff13b288670b13bfd803
tree9dc92b52a8376d048adcbdd030fff4608e7cb805
parent2a8fbfe6e2704011aa521898f2e944e41141acf2
Check tkp->output != NULL before taking strlen for both command mappings
and input mappings. This adds a missing check for command mappings and
simplifies the input mappings.

ok millert
usr.bin/vi/cl/cl_term.c