|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] avoid NULL pointer dereference.
Hi All,
xen/common/acm_ops.c, check for a NULL pointer and then
cheerfully dereferences it.
Signed-off-by: Tony Breeds <tony@xxxxxxxxxxxxxxxxxx>
diff -r 4b6e8661fe2b xen/common/acm_ops.c
--- a/xen/common/acm_ops.c Thu Nov 24 01:32:39 2005
+++ b/xen/common/acm_ops.c Thu Nov 24 15:45:57 2005
@@ -172,7 +172,7 @@
}
if (subj->ssid == NULL) {
put_domain(subj);
- ret = -ESRCH;
+ return -ESRCH;
}
ssidref1 = ((struct acm_ssid_domain *)(subj->ssid))->ssidref;
put_domain(subj);
Yours Tony
linux.conf.au http://linux.conf.au/ || http://lca2006.linux.org.au/
Jan 23-28 2006 The Australian Linux Technical Conference!
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] avoid NULL pointer dereference.,
Tony Breeds <=
|
|
|
|
|