NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

lib/49575: the system does not parse /etc/login.conf setenv=EXINIT=set\\ ai\\ showmode\\ number



>Number:         49575
>Category:       lib
>Synopsis:       the system does not parse /etc/login.conf  setenv=EXINIT=set\\ ai\\ showmode\\ number
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 15 15:50:00 +0000 2015
>Originator:     sergio lenzi
>Release:        7.99.4, 6.1.X
>Organization:
http://www.k1.com.br
>Environment:
NetBSD netbsd.lenzicasa 7.99.4 NetBSD 7.99.4 (LZT) #8: Tue Jan 13 01:33:50 BRST 2015  lzt@netbsd.lenzicasa:/usr/obj/sys/arch/i386/compile/LZT i386
>Description:
in the file /etc/login.conf
there is an option to set up environment during login

The logic on libutil and sshd  does not tread white spaces as described in man(5) login.conf
>How-To-Repeat:

put a line in the :default: section of /etc/login.conf

       :setenv[EXINIT=set\\ ai\\ showmode\\ number:\

logout, login again and try to use vi editor...

you will see that the environemnt (env) is full of garbage...
>Fix:

2 patches....

this form does not accept patch files...

to whom do I send the patches????



Home | Main Index | Thread Index | Old Index