Re: [U-Boot] [PATCH v2] x86: Change printf to puts to avoid a buffer overflow

2011-11-13 Thread Graeme Russ
On 13/11/11 13:02, Gabe Black wrote: printf as currently implemented in u-boot has a problem where it can overflow an internal buffer if it prints an expanded string that's too long. Our command lines are long enough to cause this problem. A fix should be coming, but in the mean time this

[U-Boot] [PATCH v2] x86: Change printf to puts to avoid a buffer overflow

2011-11-12 Thread Gabe Black
printf as currently implemented in u-boot has a problem where it can overflow an internal buffer if it prints an expanded string that's too long. Our command lines are long enough to cause this problem. A fix should be coming, but in the mean time this change replaces a problematic printf with a