diff options
author | Richard Jones <rjones@redhat.com> | 2009-04-10 12:47:04 +0100 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2009-04-10 12:47:04 +0100 |
commit | 1c8f9c274adb342b263d083f0ac0c24e4b600974 (patch) | |
tree | 48255c6320cf4b6ef9c8cf7cfcc643ee0b251dbd | |
parent | 95de8eea73b6fc105de728aad7571cfd0042666f (diff) | |
download | libguestfs-1c8f9c274adb342b263d083f0ac0c24e4b600974.tar.gz libguestfs-1c8f9c274adb342b263d083f0ac0c24e4b600974.tar.xz libguestfs-1c8f9c274adb342b263d083f0ac0c24e4b600974.zip |
Fix off-by-one error in Augeas wrapper code.
-rw-r--r-- | daemon/augeas.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/augeas.c b/daemon/augeas.c index 04c4a7a6..76b85d93 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"); |