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