rpms/libvirt/F-8 libvirt-0.4.0-remote-ssh.patch, NONE, 1.1 libvirt.spec, 1.70, 1.71

Daniel P. Berrange (berrange) fedora-extras-commits at redhat.com
Thu Jan 17 15:21:40 UTC 2008


Author: berrange

Update of /cvs/pkgs/rpms/libvirt/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28610

Modified Files:
	libvirt.spec 
Added Files:
	libvirt-0.4.0-remote-ssh.patch 
Log Message:
Fix remote SSH tunnelling bug

libvirt-0.4.0-remote-ssh.patch:

--- NEW FILE libvirt-0.4.0-remote-ssh.patch ---
diff -rup libvirt-0.4.0.orig/src/remote_internal.c libvirt-0.4.0.new/src/remote_internal.c
--- libvirt-0.4.0.orig/src/remote_internal.c	2008-01-14 19:32:25.000000000 -0500
+++ libvirt-0.4.0.new/src/remote_internal.c	2008-01-14 19:32:42.000000000 -0500
@@ -677,11 +677,12 @@ doRemoteOpen (virConnectPtr conn,
         cmd_argv[j++] = strdup (sockname ? sockname : LIBVIRTD_PRIV_UNIX_SOCKET);
         cmd_argv[j++] = 0;
         assert (j == nr_args);
-        for (j = 0; j < nr_args; j++)
+        for (j = 0; j < (nr_args-1); j++) {
             if (cmd_argv[j] == NULL) {
                 error (conn, VIR_ERR_SYSTEM_ERROR, strerror (ENOMEM));
                 goto failed;
             }
+        }
     }
 
         /*FALLTHROUGH*/


Index: libvirt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/libvirt/F-8/libvirt.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- libvirt.spec	14 Jan 2008 04:08:08 -0000	1.70
+++ libvirt.spec	17 Jan 2008 15:21:08 -0000	1.71
@@ -11,13 +11,14 @@
 Summary: Library providing a simple API virtualization
 Name: libvirt
 Version: 0.4.0
-Release: 3%{?dist}%{?extra_release}
+Release: 4%{?dist}%{?extra_release}
 License: LGPL
 Group: Development/Libraries
 Source: libvirt-%{version}.tar.gz
 Patch1: libvirt-%{version}-auth-null-cb.patch
 Patch2: libvirt-%{version}-conffile-size.patch
 Patch3: libvirt-%{version}-auth-null-cb-2.patch
+Patch4: libvirt-%{version}-remote-ssh.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 URL: http://libvirt.org/
 BuildRequires: python python-devel
@@ -93,6 +94,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 # Xen is availble only on i386 x86_64 ia64
@@ -218,6 +220,9 @@
 %doc docs/examples/python
 
 %changelog
+* Thu Jan 17 2008 Daniel P. Berrange <berrange at redhat.com> - 0.4.0-4.fc8
+- Fix SSH tunnelling (rhbz #428743)
+
 * Sun Jan 13 2008 Daniel P. Berrange <berrange at redhat.com> - 0.4.0-3.fc8
 - Fix crash when no auth callback
 




More information about the fedora-extras-commits mailing list