From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 26 Sep 2011 12:02:18 -0700 Subject: [U-Boot] [PATCH 3/4] Make printf and vprintf safe from buffer overruns In-Reply-To: <20110926184721.BA8781407999@gemini.denx.de> References: <1316799532-20761-1-git-send-email-sjg@chromium.org> <1316799532-20761-4-git-send-email-sjg@chromium.org> <201109231631.56071.vapier@gentoo.org> <20110925201417.24B251407995@gemini.denx.de> <20110926184721.BA8781407999@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Wolfgang, On Mon, Sep 26, 2011 at 11:47 AM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message you wrote: >> >> > If you can find one that fits for all boards? =A0Keep in mind that >> > printf() gets used before relocation, when available stack space may >> > be _very_ limited. >> >> Yes that is a problem. Perhaps we could changes things so that this >> CONFIG really only matters prior to relocation (see other thread with >> Albert) and we could just choose a suitable small value like 256, >> which seems to be the minimum for most boards. > > You are probably addressing a non-issue. ?How many related bug reports > can you find in the last decade or so? > Yes probably, it isn't important and is off-topic from my patch anyway. Regards, Simon > 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 > All your people must learn before you can reach for the stars. > ? ? ? ?-- Kirk, "The Gamesters of Triskelion", stardate 3259.2 >