[libvirt] PATCH: Fix misc memory alloc/free/usage bugs
Daniel P. Berrange
berrange at redhat.com
Wed Apr 1 12:42:33 UTC 2009
On Tue, Mar 31, 2009 at 11:34:21PM +0200, Daniel Veillard wrote:
> 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 !
Committed this new virFileResolveLink() patch, and the other pieces of the
original patch in this thread
Daniel
--
|: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list
mailing list