]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Make openvzGetVPSUUID take a len.
authorChris Lalancette <clalance@redhat.com>
Mon, 3 Aug 2009 11:50:27 +0000 (13:50 +0200)
committerChris Lalancette <clalance@redhat.com>
Tue, 11 Aug 2009 11:31:32 +0000 (13:31 +0200)
commit701477e8c346867fa1e5e34ef1df94369b71cd7e
treee967406fa6a24b24d5be070d5c1e6447c3133b5c
parent9be5773fbb85644c9de874e7f4b5baedd5c1c58e
Make openvzGetVPSUUID take a len.

Minor fix to openvzGetVPSUUID to make it take a length parameter.
This ensures that it doesn't make assumptions about the length
of the UUID buffer, and paves the way for removal of strncpy in
the future.

Signed-off-by: Chris Lalancette <clalance@redhat.com>
src/openvz_conf.c