SELinux: fix bug in new ebitmap code.
authorKaiGai Kohei <kaigai@kaigai.gr.jp>
Tue, 6 Nov 2007 16:17:16 +0000 (01:17 +0900)
committerJames Morris <jmorris@sdv.(none)>
Wed, 7 Nov 2007 21:55:10 +0000 (08:55 +1100)
commit6d2b685564ba417f4c6d80c3661f0dfee13fff85
treea4e098a0eaa0f59b84f167e875a987779a6cba5f
parent57002bfb31283e84f694763ed4db0fb761b7d6a9
SELinux: fix bug in new ebitmap code.

The "e_iter = e_iter->next;" statement in the inner for loop is primally
bug.  It should be moved to outside of the for loop.

Signed-off-by: KaiGai Kohei <kaigai@kaigai.gr.jp>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
security/selinux/ss/ebitmap.c