[PATCH] common: readline: Fix always true test
Tom Rini
trini at konsulko.com
Wed Jul 9 16:21:56 CEST 2025
On Wed, 25 Jun 2025 10:50:30 +0100, Andrew Goodbody wrote:
> The variable base is unsigned so >= 0 is always true. Fix this test
> so that it is actually useful. The fix prevents the code from causing
> a segfault in the case where Ctrl-w is pressed on a line consisting
> only of spaces.
>
>
Applied to u-boot/master, thanks!
[1/1] common: readline: Fix always true test
commit: ebb2c9e5500939cff5e812f54819174bbe6703df
--
Tom
More information about the U-Boot
mailing list