summaryrefslogtreecommitdiff
path: root/package/config/symbol.c
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-02-02 14:49:50 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-02-02 15:54:50 +0100
commita538d4057e3add76889270ec097572223b11ba07 (patch)
tree59e2430e7b40d13e086c2a82004a474c86a8cab4 /package/config/symbol.c
parent72daa122b6a4a9562109299d0b747c71aac1e483 (diff)
package/config: rebase against 2.6.37
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/config/symbol.c')
-rw-r--r--package/config/symbol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/config/symbol.c b/package/config/symbol.c
index c0efe102d..af6e9f3de 100644
--- a/package/config/symbol.c
+++ b/package/config/symbol.c
@@ -875,7 +875,7 @@ const char *sym_expand_string_value(const char *in)
symval = sym_get_string_value(sym);
}
- newlen = strlen(res) + strlen(symval) + strlen(src);
+ newlen = strlen(res) + strlen(symval) + strlen(src) + 1;
if (newlen > reslen) {
reslen = newlen;
res = realloc(res, reslen);