]> git.ipfire.org Git - thirdparty/util-linux.git/commit
setpriv: protect COLORTERM and NO_COLOR env. variables
authorKarel Zak <kzak@redhat.com>
Wed, 7 May 2025 10:52:47 +0000 (12:52 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 7 May 2025 10:52:47 +0000 (12:52 +0200)
commit71f6d70af5ec22f0a59f556373561215d989e0d0
treeb71c2de70261f2b0a18380140d4c824618dee812
parent81bb42426b1569e40f86cecdd208b5bdfda915f0
setpriv: protect COLORTERM and NO_COLOR env. variables

The patch also replaces set/get env with ul_env_list to protect
variables.

Fixes: https://github.com/util-linux/util-linux/issues/3463
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/setpriv.c