[augeas-devel] Is aug_get safe for buffer overflow ?
Dominique Dumont
dominique.dumont at hp.com
Fri Jun 6 11:29:07 UTC 2008
James Antill <james.antill at redhat.com> writes:
> This is a bit confused, between points and buffers. This is basically
> how aug_get() can be used:
>
> char *ret = NULL;
> int ret = aug_get(aug,path, &ret);
>
> if (ret == 1) puts(ret);
>
> ...aug_set() does take a "buffer" of char, but uses strdup() on it.
Understood. Thanks a bunch for the help.
--
Dominique Dumont
"Delivering successful solutions requires giving people what they
need, not what they want." Kurt Bittner
More information about the augeas-devel
mailing list