Re: [PATCH 13/20] openvz: Remove several larger stack allocations

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

 



On Sun, Apr 03, 2011 at 11:21:26AM +0200, Matthias Bolte wrote:
> Replace openvz_readline with getline in several places to get rid of stack
> allocated buffers to hold lines.
> 
> openvzReadConfigParam allocates memory for return values instead of
> expecting a preexisting buffer.
> ---
>  src/openvz/openvz_conf.c   |  141 +++++++++++++++++++++++++++-----------------
>  src/openvz/openvz_conf.h   |    2 +-
>  src/openvz/openvz_driver.c |   45 +++++++++-----
>  3 files changed, 117 insertions(+), 71 deletions(-)

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]