mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
Fix off-by-one error in Augeas wrapper code.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user