From 1c8f9c274adb342b263d083f0ac0c24e4b600974 Mon Sep 17 00:00:00 2001 From: Richard Jones Date: Fri, 10 Apr 2009 12:47:04 +0100 Subject: [PATCH] Fix off-by-one error in Augeas wrapper code. --- daemon/augeas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/augeas.c b/daemon/augeas.c index 04c4a7a..76b85d9 100644 --- a/daemon/augeas.c +++ b/daemon/augeas.c @@ -57,7 +57,7 @@ do_aug_init (const char *root, int flags) aug = NULL; } - len = strlen (root) + 8; + len = strlen (root) + 9; buf = malloc (len); if (!buf) { reply_with_perror ("malloc"); -- 1.8.3.1