All of lore.kernel.org
 help / color / mirror / Atom feed
* [XSM:ACM][PATCH] null dereference bug fix
@ 2007-09-27 16:43 George S. Coker, II
  2007-09-27 18:35 ` [Xense-devel] " Stefan Berger
  0 siblings, 1 reply; 10+ messages in thread
From: George S. Coker, II @ 2007-09-27 16:43 UTC (permalink / raw)
  To: xen-devel; +Cc: xense-devel

[-- Attachment #1: Type: text/plain, Size: 114 bytes --]

The attached patch fixes a null dereference bug in XSM:ACM.

Signed-off-by: George Coker <gscoker@alpha.ncsc.mil>

[-- Attachment #2: acm-xsm-null_bug-092707-xen-unstable-15880.diff --]
[-- Type: text/x-patch, Size: 804 bytes --]

diff -r db50ed637dae -r 5cf21d968c59 xen/include/xsm/acm/acm_hooks.h
--- a/xen/include/xsm/acm/acm_hooks.h	Sat Feb 14 15:54:02 2015 -0500
+++ b/xen/include/xsm/acm/acm_hooks.h	Sat Feb 14 15:16:27 2015 -0500
@@ -284,17 +284,12 @@ static inline int acm_domain_create(stru
     } else if ((acm_secondary_ops->domain_create != NULL) &&
                 acm_secondary_ops->domain_create(subject_ssid, ssidref,
                                                  domid)) {
-        /* roll-back primary */
-        if (acm_primary_ops->domain_destroy != NULL)
-            acm_primary_ops->domain_destroy(d->ssid, d);
         rc = ACM_ACCESS_DENIED;
     }
 
     if ( rc == ACM_OK )
     {
         acm_domain_ssid_onto_list(d->ssid);
-    } else {
-        acm_free_domain_ssid(d->ssid);
     }
 
 error_out:

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2007-09-28 16:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-27 16:43 [XSM:ACM][PATCH] null dereference bug fix George S. Coker, II
2007-09-27 18:35 ` [Xense-devel] " Stefan Berger
2007-09-27 19:35   ` Re: [Xense-devel] [XSM:ACM][PATCH] nulldereference " Coker, George
2007-09-27 20:12     ` Stefan Berger
2007-09-27 20:48       ` George S. Coker, II
2007-09-28  7:56         ` Syunsuke HAYASHI
2007-09-28 14:21         ` Stefan Berger
2007-09-28 15:05           ` George S. Coker, II
2007-09-28 15:20             ` Stefan Berger
2007-09-28 16:04               ` Re: [Xense-devel][XSM:ACM][PATCH] " Coker, George

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.