Re: [libvirt] [PATCH 01/20] Remove PATH_MAX sized stack allocations related to virFileBuildPath

2011-04-04 Thread Daniel P. Berrange
On Sun, Apr 03, 2011 at 11:21:14AM +0200, Matthias Bolte wrote: > Make virFileBuildPath operate on the heap instead of the stack. It > allocates a buffer instead of expecting a preexisting buffer. > --- > src/conf/nwfilter_conf.c | 21 +++-- > src/conf/storage_conf.c | 44

[libvirt] [PATCH 01/20] Remove PATH_MAX sized stack allocations related to virFileBuildPath

2011-04-03 Thread Matthias Bolte
Make virFileBuildPath operate on the heap instead of the stack. It allocates a buffer instead of expecting a preexisting buffer. --- src/conf/nwfilter_conf.c | 21 +++-- src/conf/storage_conf.c | 44 +++- src/util/util.c | 29