[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Libvir] [PATCH] Rewrite openvzSetUUID.



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]