Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Apr 2021 19:18:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 247947] Consider trimming values passed to setenv in login.conf
Message-ID:  <bug-247947-227-2q027b9XXe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-247947-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-247947-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247947

--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch stable/13 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=3Dc6dcae2dfa3b96edc1fd8bbb6254c48fa=
fbc8cd3

commit c6dcae2dfa3b96edc1fd8bbb6254c48fafbc8cd3
Author:     Yuri Pankov <yuripv@FreeBSD.org>
AuthorDate: 2021-04-11 22:02:12 +0000
Commit:     Yuri Pankov <yuripv@FreeBSD.org>
CommitDate: 2021-04-15 19:15:51 +0000

    setclassenvironment: trim leading spaces in variable names

    Trim leading spaces in variable names when the list is e.g.
    pretty-formatted in /etc/login.conf or ~/.login_conf.

    PR:             247947
    Reviewed by:    allanjude
    Differential Revision:  https://reviews.freebsd.org/D25649

    (cherry picked from commit eeaf9d562fe137e0c52b8c346742dccfc8bde015)

 lib/libutil/login_class.c | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247947-227-2q027b9XXe>