From: Andy Whitcroft Date: Mon, 1 Nov 2010 21:01:44 +0000 (+0000) Subject: kconfig: sym_expand_string_value: allow for string termination when reallocing X-Git-Tag: v2.6.37-rc2~99 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=020e773f6b2e797a13d23723773ed1b3ba2c35dc;p=pandora-kernel.git kconfig: sym_expand_string_value: allow for string termination when reallocing 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 Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed