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

Simon Glass sjg at chromium.org
Fri Sep 23 20:48:07 CEST 2011


Hi Kumar,

On Fri, Sep 23, 2011 at 11:36 AM, Kumar Gala <galak at kernel.crashing.org> wrote:
>
> On Sep 23, 2011, at 12:38 PM, Simon Glass wrote:
>
>> From: Sonny Rao <sonnyrao at chromium.org>
>>
>> From: Sonny Rao <sonnyrao at 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 at 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
>


More information about the U-Boot mailing list