[libvirt] PATCH: Fix misc memory alloc/free/usage bugs
Daniel Veillard
veillard at redhat.com
Tue Mar 31 21:34:21 UTC 2009
On Tue, Mar 31, 2009 at 02:29:02PM +0100, Daniel P. Berrange wrote:
> On Tue, Mar 31, 2009 at 12:04:00PM +0200, Daniel Veillard wrote:
> Actually, the buffer is the exact right size, because that
> 'buf.st_size' was filled by a lstat() call, and the POSIX
> semantics for lstat() are that 'st_size' will contain the
> number of bytes in the destination filename. At least that's
> what this post claims....
>
> http://lists.debian.org/debian-hurd/2001/07/msg00301.html
>
Okay, thanks for double-checking, ACK !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list