Jim Meyering <jim(a)meyering.net> wrote:
So here's that same patch without the useless fseek:
diff --git a/src/openvz_conf.c b/src/openvz_conf.c
index a274223..2e7b153 100644
I've committed that change:
Rewrite openvzSetUUID.
* src/openvz_conf.c (openvzSetUUID): Rewrite to avoid unchecked
lseek, write, and close as well as a potential file descriptor leak.