From: Wolfgang Denk Date: Sun, 25 Sep 2011 22:14:17 +0200 Subject: [U-Boot] [PATCH 3/4] Make printf and vprintf safe from buffer overruns In-Reply-To: References: <1316799532-20761-1-git-send-email-sjg@chromium.org> <1316799532-20761-4-git-send-email-sjg@chromium.org> <201109231631.56071.vapier@gentoo.org> Message-ID: <20110925201417.24B251407995@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 Simon Glass, In message you wrote: > > Yes, indeed. Could we go as far as removing CONFIG_SYS_PBSIZE, and > just use a standard value? If you can find one that fits for all boards? Keep in mind that printf() gets used before relocation, when available stack space may be _very_ limited. 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 "And it should be the law: If you use the word `paradigm' without knowing what the dictionary says it means, you go to jail. No exceptions." - David Jones @ Megatest Corporation