WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] Revert 21640:05e127771b86 "libxc: Fix Seg

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Revert 21640:05e127771b86 "libxc: Fix Segmentation fault of xend"
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Jun 2010 10:45:36 -0700
Delivery-date: Mon, 21 Jun 2010 10:49:49 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1277141799 -3600
# Node ID be9bf07fc818944fa9ddf8e901ba38dd30ec6150
# Parent  fbef5b14f424c060a80fcb02228e87a4e7b93925
Revert 21640:05e127771b86 "libxc: Fix Segmentation fault of xend"

Nacked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/libxc/xc_private.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff -r fbef5b14f424 -r be9bf07fc818 tools/libxc/xc_private.c
--- a/tools/libxc/xc_private.c  Mon Jun 21 18:35:10 2010 +0100
+++ b/tools/libxc/xc_private.c  Mon Jun 21 18:36:39 2010 +0100
@@ -82,10 +82,8 @@ const xc_error *xc_get_last_error(xc_int
 
 void xc_clear_last_error(xc_interface *xch)
 {
-    if (xch) {
-        xch->last_error.code = XC_ERROR_NONE;
-        xch->last_error.message[0] = '\0';
-    }
+    xch->last_error.code = XC_ERROR_NONE;
+    xch->last_error.message[0] = '\0';
 }
 
 const char *xc_error_code_to_desc(int code)

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Revert 21640:05e127771b86 "libxc: Fix Segmentation fault of xend", Xen patchbot-unstable <=