|   | 
      | 
  
  
      | 
      | 
  
 
     | 
    | 
  
  
     | 
    | 
  
  
    |   | 
      | 
  
  
    | 
         
xense-devel
Re: [Xen-devel] Re: [Xense-devel]	[XSM:ACM][PATCH]	nulldereference	bug f
 
 [...] 
> > > >  
>  
> Ok, but then the null dereference issue still exists within the context 
> of XSM.  The options are: 
>  
> 1) Follow acm_free_domain_ssid(d->ssid) with d->ssid = NULL 
> (I've tested this and it maintains the desired policy state: 
>  
> Confict Sets: 
>  
>    c-set 0:    00 01 00 01 
>  
> Running 
> Types:         01 01 00 00 
>  
> Conflict 
> Aggregate Set: 00 00 00 01 
>  
> but seems less attractive from a coding style perspective) 
>  
> or  
>  
> 2) Chance acm_free_domain_ssid to pass d instead of ssid and ensure
that 
> d->ssid = NULL in acm_free_domain_ssid.
 
 Sounds like this is cleaner and so I opt for this
choice.
 
    Stefan
  
>  
> George 
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
 
 |   
 
 | 
    | 
  
  
    |   | 
    |