[U-Boot] [PATCH 1/5] Check for NULL prompt in readline_into_buffer()

Wolfgang Denk wd at denx.de
Sat Oct 24 19:23:11 CEST 2009


Dear Peter Tyser,

In message <1256259563-32725-1-git-send-email-ptyser at xes-inc.com> you wrote:
> Previously, passing readline() or readline_into_buffer() a NULL 'prompt'
> parameter would result in puts() printing garbage when
> CONFIG_CMDLINE_EDITING was enabled.

What would be the situation when this happens? I cannot see easily how
to trigger this bug?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
An age is called Dark not because  the  light  fails  to  shine,  but
because people refuse to see it.           -- James Michener, "Space"


More information about the U-Boot mailing list