diff --git a/source3/lib/util.c b/source3/lib/util.c index 374bc5d5c92..07daad2894b 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -1504,7 +1504,7 @@ static char *xx_path(const char *name, const char *rootpath) } } - return talloc_asprintf_append(fname, "/%s", name); + return talloc_asprintf_append_buffer(fname, "/%s", name); } /**