[libvirt] [PATCH] segfailt in openvz driver

There was segmentation failt in openvz driver during 'create' command if domain with same id exist. Segfault was because of using structure (print warning with name of container) which is free. other: use openvzError instead of openvzLog.

On Thu, Sep 11, 2008 at 04:50:53PM +0400, Evgeniy Sokolov wrote:
There was segmentation failt in openvz driver during 'create' command if domain with same id exist. Segfault was because of using structure (print warning with name of container) which is free.
Yes, classic use-after-free bug. +1.
other: use openvzError instead of openvzLog.
+1 also. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-p2v converts physical machines to virtual machines. Boot with a live CD or over the network (PXE) and turn machines into Xen guests. http://et.redhat.com/~rjones/virt-p2v

On Thu, Sep 11, 2008 at 04:50:53PM +0400, Evgeniy Sokolov wrote:
There was segmentation failt in openvz driver during 'create' command if domain with same id exist. Segfault was because of using structure (print warning with name of container) which is free.
Hi Evgeniy, I notice that this patch hasn't been applied to CVS. Do you have commit permission or would you like me to apply it? Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/

On Thu, Sep 11, 2008 at 04:50:53PM +0400, Evgeniy Sokolov wrote:
There was segmentation failt in openvz driver during 'create' command if domain with same id exist. Segfault was because of using structure (print warning with name of container) which is free.
Hi Evgeniy, I notice that this patch hasn't been applied to CVS. Do you have commit permission or would you like me to apply it?
Hi Rich, I have no commit permission. Please, apply and commit the patch.

On Wed, Sep 17, 2008 at 07:43:24PM +0400, Evgeniy Sokolov wrote:
On Thu, Sep 11, 2008 at 04:50:53PM +0400, Evgeniy Sokolov wrote:
There was segmentation failt in openvz driver during 'create' command if domain with same id exist. Segfault was because of using structure (print warning with name of container) which is free.
Hi Evgeniy, I notice that this patch hasn't been applied to CVS. Do you have commit permission or would you like me to apply it?
Hi Rich, I have no commit permission. Please, apply and commit the patch.
OK, that will be committed in a few minutes. Rich. -- Richard Jones, Emerging Technologies, Red Hat http://et.redhat.com/~rjones virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://et.redhat.com/~rjones/virt-df/
participants (2)
-
Evgeniy Sokolov
-
Richard W.M. Jones