Stephen Smalley
2010-Mar-11 14:03 UTC
[Xen-devel] [PATCH] xen/xsm/flask: Eliminate "array subscript above array bounds" warning
gcc 4.4 incorrectly reports an "array subscript above array bounds" warning in the flask policydb code, causing the build to fail with FLASK_ENABLE=y. Rework the code slightly to make it go away. Signed-off-by: Stephen D. Smalley <sds@tycho.nsa.gov> --- xen/xsm/flask/ss/policydb.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) -- Stephen Smalley National Security Agency _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel