]> git.ipfire.org Git - thirdparty/util-linux.git/commit
su: cleanup code to copy to log strings
authorKarel Zak <kzak@redhat.com>
Wed, 3 Oct 2018 15:08:11 +0000 (17:08 +0200)
committerKarel Zak <kzak@redhat.com>
Wed, 3 Oct 2018 15:10:13 +0000 (17:10 +0200)
commit7f76bc8a7557aa835667566aef9c8a2a8b18c2bb
treef7c0b164747dad45c42fe1ac20770b1d7fec2bad
parentac5c12fdc2230f8decdd930bb9c089d5e1f89236
su: cleanup code to copy to log strings

man utmp:
  String fields are terminated by a null byte ('\0') if they are shorter
  than the size of the field.

Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/su-common.c