Andy Whitcroft 020e773f6b 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 <apw@canonical.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-11-01 17:06:00 -04:00
..
2010-07-02 13:51:11 +02:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2007-12-17 19:28:17 -08:00
2010-03-07 21:19:09 +01:00
2010-03-07 21:22:56 +01:00
2010-10-28 00:32:23 +02:00
2008-07-25 22:12:41 +02:00
2009-06-09 22:37:54 +02:00
2010-03-23 12:26:38 +01:00
2010-09-11 16:49:21 -07:00
2008-04-25 20:18:48 +02:00
2010-08-17 11:47:40 +02:00
2005-04-16 15:20:36 -07:00
2009-06-09 22:37:54 +02:00