On Fri, Dec 27, 2019 at 12:12 AM Adrian Bunk <[email protected]> wrote: > > 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. >
I had it replaced with 128 already, this patch can be ignored > cu > Adrian -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
