[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] xen/common/acm_ops.c, check for a NULL pointer and then
# 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
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |