On Thu, Dec 26, 2019 at 07:56:39PM -0800, Khem Raj wrote:
>...
> +--- a/cli/cli_readline.c
> ++++ b/cli/cli_readline.c
> +@@ -261,6 +261,11 @@ static void cli_rl_display_wrapped_text(
> +     if (left_margin == 0) {
> +             left_margin = 3;
> +     }
> ++
> ++    if (left_margin >= strlen(text_buf)) {
> ++            left_margin = strlen(text_buf);
> ++    }
>...

This doesn't make sense, text_buf is an uninitialized variable.

cu
Adrian
-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to