mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xen/common/acm_ops.c, check for a NULL pointer and then
cheerfully dereferences it. Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
This commit is contained in:
1 parent
16a1f39d38
commit
d0d531a4c5
1 file changed
+1
@@ -173,6 +173,7 @@ long do_acm_op(struct acm_op * u_acm_op)
|
||||
if (subj->ssid == NULL) {
|
||||
put_domain(subj);
|
||||
ret = -ESRCH;
|
||||
goto out;
|
||||
}
|
||||
ssidref1 = ((struct acm_ssid_domain *)(subj->ssid))->ssidref;
|
||||
put_domain(subj);
|
||||
|
||||