Re: [libvirt] [PATCH] lxc: avoid use-after-free

2011-11-04 Thread Eric Blake
On 11/04/2011 07:32 AM, Daniel P. Berrange wrote: On Thu, Nov 03, 2011 at 05:33:38PM -0600, Eric Blake wrote: I got this weird failure: error: Failed to start domain simple error: internal error cannot mix caller fds with blocking execution and tracked it down to a use-after-free -

[libvirt] [PATCH] lxc: avoid use-after-free

2011-11-03 Thread Eric Blake
I got this weird failure: error: Failed to start domain simple error: internal error cannot mix caller fds with blocking execution and tracked it down to a use-after-free - virCommandSetOutputFD was storing the address of a stack-local variable, which then went out of scope before the