[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250723-tentacled-quaint-honeybee-daeadc@l-nschier-aarch64>
Date: Wed, 23 Jul 2025 08:21:05 +0200
From: Nicolas Schier <n.schier@....de>
To: Shankari Anand <shankari.ak0208@...il.com>
Cc: linux-kernel@...r.kernel.org, linux-kbuild@...r.kernel.org,
Masahiro Yamada <masahiroy@...nel.org>,
Randy Dunlap <rdunlap@...radead.org>
Subject: Re: [PATCH v2] kconfig: nconf: Fix uncleared lines on help screens
On Tue, Jul 22, 2025 at 10:58:37PM +0530, Shankari Anand wrote:
> Commit 1b92b18ec419 ("kconfig: nconf: Ensure null termination where
> strncpy is used") introduced a regression where
> help screens (F1, F2, F3) no longer properly clear short lines of text,
> resulting in duplicated or trailing content when lines are overwritten.
>
> Revert the null-termination change to match
> the actual length of the copied string.
>
> Reported-by: Randy Dunlap <rdunlap@...radead.org>
> Closes: https://lore.kernel.org/lkml/CAK7LNAT54nvwYmTy20Ep8U2kr4thn68yYWXi9R-d3Yx3iXs=Bg@mail.gmail.com/T/#
> Fixes: 1b92b18ec419 ("kconfig: nconf: Ensure null termination where strncpy is used")
> Signed-off-by: Shankari Anand <shankari.ak0208@...il.com>
> Acked-by: Randy Dunlap <rdunlap@...radead.org>
> Tested-by: Randy Dunlap <rdunlap@...radead.org>
> ---
Tested-by: Nicolas Schier <n.schier@....de>
Acked-by: Nicolas Schier <n.schier@....de>
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists