]> git.ipfire.org Git - thirdparty/shadow.git/commit
src/login.c: Remove dead code
authorAlejandro Colomar <alx@kernel.org>
Mon, 13 May 2024 12:31:01 +0000 (14:31 +0200)
committerSerge Hallyn <serge@hallyn.com>
Tue, 2 Jul 2024 02:40:11 +0000 (21:40 -0500)
commit847a19e7a31f0c45517381fb3cadbb6c2cdce148
treec74af4ff509a058e0a7a2e25193451613dedd5a6
parente5d40a18631c456889176d94e44c6470f5f89320
src/login.c: Remove dead code

The functions that set these strings --do_rlogin() and login_prompt()--
make sure to terminate them with a NUL.

Fixes: 3704745289f5 ("* lib/defines.h: Define USER_NAME_MAX_LENGTH, based on utmp and [...]")
Signed-off-by: Alejandro Colomar <alx@kernel.org>
src/login.c