Re: [PATCH] Rewrite openvzSetUUID.

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

 



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

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]