]> xenbits.xensource.com Git - libvirt.git/commit
Rewrite openvzSetUUID.
authorJim Meyering <meyering@redhat.com>
Thu, 21 Feb 2008 18:48:06 +0000 (18:48 +0000)
committerJim Meyering <meyering@redhat.com>
Thu, 21 Feb 2008 18:48:06 +0000 (18:48 +0000)
commit9bcade46dfe7b17400d06ae93287bed74ec60e61
tree15cb398acc086557deff338fe92cfac2b21a77d7
parent5fc07cd840ba3639801649ae455a819a64b1fc2a
Rewrite openvzSetUUID.

* src/openvz_conf.c (openvzSetUUID): Rewrite to avoid unchecked
lseek, write, and close as well as a potential file descriptor leak.
ChangeLog
src/openvz_conf.c