Re: [PATCH 1/1] kconfig: sym_expand_string_value: allow for stringtermination when reallocing

From: Michal Marek
Date: Thu Nov 25 2010 - 09:23:22 EST


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@xxxxxxxxxxxxx>
> ---
> scripts/kconfig/symbol.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)

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

Michal
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/