[U-Boot] [PATCH 3/4] Make printf and vprintf safe from buffer overruns

Kumar Gala
2011-09-23T18:36:25Z

On Sep 23, 2011, at 12:38 PM, Simon Glass wrote:

> From: Sonny Rao <sonnyrao@chromium.org>
>
> From: Sonny Rao <sonnyrao@chromium.org>
>
> utilize the added vscnprintf functions to avoid buffer overruns
> The implementation is fairly dumb in that it doesn't detect
> that the buffer is too small, but at least will not cause crashes.
>
> Signed-off-by: Simon Glass <sjg@chromium.org>
> ---
> common/console.c | 10 +++++-----
> 1 files changed, 5 insertions(+), 5 deletions(-)

If these are from Sonny, they really should have a Signed-off-by from him.

- k