lxc-unshare: remove stack allocations

parent b12ba3f0
......@@ -398,7 +398,7 @@ int main(int argc, char *argv[])
if (my_args.setuid) {
uint64_t wait_val = 1;
/* enough space to accommodate uids */
char *umap = (char *)alloca(100);
char umap[100];
/* create new uid mapping using current UID and the one
* specified as parameter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment