[Libguestfs] [PATCH] init: Don't allocate modules on the stack (RHBZ#1339691).

Richard W.M. Jones rjones at redhat.com
Wed May 25 18:32:53 UTC 2016


On Wed, May 25, 2016 at 07:05:47PM +0200, Pino Toscano wrote:
> On Wednesday 25 May 2016 17:38:47 Richard W.M. Jones wrote:
> > If the modules are unstripped and/or especially large, then the stack
> > can overflow.
> > ---
> 
> LGTM.

Yup, Luiz Capitulino (the bug reporter) tested it and confirms it
works too.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://people.redhat.com/~rjones/virt-df/




More information about the Libguestfs mailing list