git.annexia.org
/
libguestfs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95de8ee
)
Fix off-by-one error in Augeas wrapper code.
author
Richard Jones
<rjones@redhat.com>
Fri, 10 Apr 2009 11:47:04 +0000
(12:47 +0100)
committer
Richard Jones
<rjones@redhat.com>
Fri, 10 Apr 2009 11:47:04 +0000
(12:47 +0100)
daemon/augeas.c
patch
|
blob
|
history
diff --git
a/daemon/augeas.c
b/daemon/augeas.c
index
04c4a7a
..
76b85d9
100644
(file)
--- 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");