]> git.ipfire.org Git - thirdparty/shadow.git/commit
Explicitly override only newlines
authorSamanta Navarro <ferivoz@riseup.net>
Mon, 30 Jan 2023 11:53:47 +0000 (11:53 +0000)
committerSerge Hallyn <serge@hallyn.com>
Wed, 1 Feb 2023 21:47:35 +0000 (15:47 -0600)
commitffc480c2e93f05266e4b130229877ad13f71a8c0
treede5913edc0133a2bf9eb4ec7292827bb449bf659
parent37ae2320809cb16afa9dacd8e5ea317ae216ee36
Explicitly override only newlines

Override only newlines with '\0' to avoid undesired truncation of
actual line content.

Signed-off-by: Samanta Navarro <ferivoz@riseup.net>
lib/port.c
libmisc/console.c