mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-26 16:02:26 +00:00
selinux: conditional expression type validation was off-by-one
This is the same off-by-one bug that was already fixed in the kernel. (According to my understanding neither of these bugs has security implications) Signed-off-by: Vesa-Matti Kari <vmkari@cc.helsinki.fi> Signed-off-by: Joshua Brindle <method@manicmethod.com>
This commit is contained in:
parent
13cd4c8960
commit
0915aeaaac
@ -48,7 +48,7 @@ typedef struct cond_expr {
|
||||
#define COND_XOR 5 /* bool ^ bool */
|
||||
#define COND_EQ 6 /* bool == bool */
|
||||
#define COND_NEQ 7 /* bool != bool */
|
||||
#define COND_LAST 8
|
||||
#define COND_LAST COND_NEQ
|
||||
uint32_t expr_type;
|
||||
uint32_t bool;
|
||||
struct cond_expr *next;
|
||||
|
Loading…
Reference in New Issue
Block a user