[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[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@xxxxxxxxxxxxx>

---

 xen/xsm/flask/ss/policydb.c |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

-- 
Stephen Smalley
National Security Agency

Attachment: xen-policydb.diff
Description: Text Data

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.