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/common/acm_ops.c, check for a NULL pointer and then

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] xen/common/acm_ops.c, check for a NULL pointer and then
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 24 Nov 2005 12:30:07 +0000
Delivery-date: Thu, 24 Nov 2005 12:30:25 +0000
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/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 kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 9c631c4fe727d9148b7feecafe94df5b8439cea7
# Parent  eb87d4c810d37525b0c549aad27420c082b343d6
xen/common/acm_ops.c, check for a NULL pointer and then
cheerfully dereferences it.

Signed-off-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>

diff -r eb87d4c810d3 -r 9c631c4fe727 xen/common/acm_ops.c
--- a/xen/common/acm_ops.c      Thu Nov 24 10:06:26 2005
+++ b/xen/common/acm_ops.c      Thu Nov 24 10:10:43 2005
@@ -173,6 +173,7 @@
             if (subj->ssid == NULL) {
                 put_domain(subj);
                 ret = -ESRCH;
+                goto out;
             }
             ssidref1 = ((struct acm_ssid_domain *)(subj->ssid))->ssidref;
             put_domain(subj);

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] xen/common/acm_ops.c, check for a NULL pointer and then, Xen patchbot -unstable <=