]> git.ipfire.org Git - thirdparty/lxc.git/commit
create_run_template: don't use txtuid and txtguid out of scope 4487/head
authorSerge Hallyn <serge@hallyn.com>
Thu, 10 Oct 2024 04:18:42 +0000 (23:18 -0500)
committerSerge Hallyn <serge@hallyn.com>
Sun, 13 Oct 2024 15:11:12 +0000 (10:11 -0500)
commitd50ee6f7c4b4bf827ddc9a1314eb9a2d69b5bc2c
tree7f79ffe7c7ef34659221544c356e3d9082df32da
parent5714ae4b194f71ee05e08444cb3c666b440594c1
create_run_template: don't use txtuid and txtguid out of scope

It's ok that we don't free the malloc()d space since we're
immediately exec()ing.

Originally-by: Kurt Godwin <kgodwin@itron.com>
Reported-by: Kurt Godwin <kgodwin@itron.com>
Signed-off-by: Serge Hallyn <serge@hallyn.com>
src/lxc/lxccontainer.c