]> git.ipfire.org Git - thirdparty/util-linux.git/commit - term-utils/agetty.c
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, 20 Jul 2016 11:16:13 +0000 (13:16 +0200)
commit1132e5aad18cd3cf5326a4afa342fcd246d6aa6d
treef6c297dc6382703fb9798ffe762859846ea681aa
parent78e7f78896f2c9cf1b2615c8c555a64dcd9d2642
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