From 4804c5b010e040bb02723ce083f1cd66945db954 Mon Sep 17 00:00:00 2001 From: Michael Schroeder Date: Tue, 11 Mar 2008 11:19:25 +0000 Subject: [PATCH] - Fix off by one (*blush*) --- src/poolid.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/poolid.c b/src/poolid.c index d1e449e..35b521d 100644 --- a/src/poolid.c +++ b/src/poolid.c @@ -229,7 +229,7 @@ dep2str(Pool *pool, Id id) char *p; if (!ISRELDEP(id)) return pool->ss.stringspace + pool->ss.strings[id]; - p = pool_alloctmpspace(pool, dep2strlen(pool, id)); + p = pool_alloctmpspace(pool, dep2strlen(pool, id) + 1); dep2strcpy(pool, p, id); return p; } -- 2.34.1