]> git.ipfire.org Git - thirdparty/shadow.git/commit
lastlog: fix alignment of Latest header
authorTodd Zullinger <tmz@pobox.com>
Tue, 18 Jul 2023 03:16:00 +0000 (23:16 -0400)
committerSerge Hallyn <serge@hallyn.com>
Tue, 18 Jul 2023 15:49:13 +0000 (10:49 -0500)
commit2643f27b360d44dcb5514072316eb112a867904e
treec27e2b5e62fc544e6395a3d7c42949da859cd13a
parent6f4dc321c3822742cbb19c7656e56e1c0651ba9e
lastlog: fix alignment of Latest header

b1282224 (Add maximum padding to fit IPv6-Addresses, 2020-05-24) pads
the From field header using `maxIPv6Addrlen - 3`.  This leaves the
Latest field header misaligned.  Subtract 4 (the length of "From").
src/lastlog.c