[Libvir] [PATCH] Rewrite openvzSetUUID.

Jim Meyering jim at meyering.net
Thu Feb 21 18:58:16 UTC 2008


Jim Meyering <jim at 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.




More information about the libvir-list mailing list