Check boundary conditions - a fix
PATCH 1/1 Check boundary conditions - a fix
This goes on top of the previously posted patch to fix a problem with the logic...
Signed-off-by Stefan Berger <[email protected]>
xen-unstable.hg/xen/acm/acm_simple_type_enforcement_hooks.c +1 -1
@@ -42,7 +42,7 @@ static inline int have_common_type (ssidint i;if ( ref1 >=0 && ref1 < ste_bin_pol.max_ssidrefs && - ref2 >=0 && ref2 > ste_bin_pol.max_ssidrefs ) + ref2 >=0 && ref2 < ste_bin_pol.max_ssidrefs ) {for ( i =0 ; i< ste_bin_pol.max_types; i++ ) if ( ste_bin_pol.ssidrefs[ref1*ste_bin_pol.max_types + i] &&
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel