From: Wolfgang Denk Date: Sat, 24 Oct 2009 19:23:11 +0200 Subject: [U-Boot] [PATCH 1/5] Check for NULL prompt in readline_into_buffer() In-Reply-To: <1256259563-32725-1-git-send-email-ptyser@xes-inc.com> References: <1256259563-32725-1-git-send-email-ptyser@xes-inc.com> Message-ID: <20091024172311.0CF53185D4A5@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Peter Tyser, In message <1256259563-32725-1-git-send-email-ptyser@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"