]> git.ipfire.org Git - thirdparty/util-linux.git/commit - login-utils/login.c
login: fix segmentation fault in log_utmp
authorKarel Zak <kzak@redhat.com>
Mon, 21 May 2012 07:58:42 +0000 (09:58 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 21 May 2012 07:58:42 +0000 (09:58 +0200)
commitd4cba553f9c03ab68edb7f8e8a536578b5170c94
treee06c5d2021f26272ee1e0c49bcab793dfce2d40b
parent96747e7594508262a268ae28d1240f548555db41
login: fix segmentation fault in log_utmp

 ctx->tty_number is optional...

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=822705
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/login.c