lkml.org 
[lkml]   [2010]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/1] kconfig: sym_expand_string_value: allow for string termination when reallocing
On Mon, Nov 01, 2010 at 09:01:44PM +0000, Andy Whitcroft wrote:
> When expanding a parameterised string we may run out of space, this
> triggers a realloc. When computing the new allocation size we do not allow
> for the terminating '\0'. Allow for this when calculating the new length.
>
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
> ---
> scripts/kconfig/symbol.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

Applied to kbuild-2.6.git#rc-fixes, thanks.

Michal


\
 
 \ /
  Last update: 2010-11-25 15:25    [W:2.979 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site