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:
kaf24@firebug.cl.cam.ac.uk committed 2005-11-24 11:10:43 +01:00
1 parent 16a1f39d38
commit d0d531a4c5
1 file changed
+1
+1
View File
@@ -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);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.