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

Simon Glass
2011-09-23T18:48:07Z

Hi Kumar,

On Fri, Sep 23, 2011 at 11:36 AM, Kumar Gala <galak@kernel.crashing.org> wrote:
>
> 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.
>
OK will fix that with next version thanks. The commit in my tree says
Sonny but perhaps git format-patch --signoff is not doing what I
expect.

Regards,
Simon

> - k
>