]> git.ipfire.org Git - thirdparty/util-linux.git/commit
agetty: fix \S usage
authorKarel Zak <kzak@redhat.com>
Wed, 20 Jul 2016 11:16:13 +0000 (13:16 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 10 Aug 2016 11:09:38 +0000 (13:09 +0200)
commite5bf20c159cfcba7da6816b2e2c61c366112bfe9
treeb6a6eb714aeae3630570cf58cef2c003511763ea
parentd9208580d0b70dbdc67e18d6bd191e70e4ccf361
agetty: fix \S usage

If \S without argument used then uninitialized 'varname' compared with
ANSI_COLOR.

Addresses: https://github.com/karelzak/util-linux/issues/329
Signed-off-by: Karel Zak <kzak@redhat.com>
term-utils/agetty.c