ia64/xen-unstable

changeset 8025:9c631c4fe727

xen/common/acm_ops.c, check for a NULL pointer and then
cheerfully dereferences it.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
author kaf24@firebug.cl.cam.ac.uk
date Thu Nov 24 11:10:43 2005 +0100 (2005-11-24)
parents eb87d4c810d3
children e1728d3c18ca
files xen/common/acm_ops.c
line diff
     1.1 --- a/xen/common/acm_ops.c	Thu Nov 24 11:06:26 2005 +0100
     1.2 +++ b/xen/common/acm_ops.c	Thu Nov 24 11:10:43 2005 +0100
     1.3 @@ -173,6 +173,7 @@ long do_acm_op(struct acm_op * u_acm_op)
     1.4              if (subj->ssid == NULL) {
     1.5                  put_domain(subj);
     1.6                  ret = -ESRCH;
     1.7 +                goto out;
     1.8              }
     1.9              ssidref1 = ((struct acm_ssid_domain *)(subj->ssid))->ssidref;
    1.10              put_domain(subj);