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] console daemon: Fix realloc() usage.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] console daemon: Fix realloc() usage.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 11 Jun 2007 02:22:16 -0700
Delivery-date: Mon, 11 Jun 2007 02:24:41 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/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 kfraser@xxxxxxxxxxxxxxxxxxxxx
# Date 1181034015 -3600
# Node ID 91301122db5128d8d94e90638c5a272479621f68
# Parent  f45c84dd5f4133feae766082acc6e449a42c4116
console daemon: Fix realloc() usage.
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/console/daemon/io.c |    1 +
 1 files changed, 1 insertion(+)

diff -r f45c84dd5f41 -r 91301122db51 tools/console/daemon/io.c
--- a/tools/console/daemon/io.c Tue Jun 05 09:59:34 2007 +0100
+++ b/tools/console/daemon/io.c Tue Jun 05 10:00:15 2007 +0100
@@ -191,6 +191,7 @@ static int create_domain_log(struct doma
                free(namepath);
                return -1;
        }
+       namepath = s;
        strcat(namepath, "/name");
        data = xs_read(xs, XBT_NULL, namepath, &len);
        if (!data)

_______________________________________________
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] console daemon: Fix realloc() usage., Xen patchbot-unstable <=