aboutsummaryrefslogtreecommitdiff
path: root/security/apparmor/include/match.h
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2016-06-02 02:37:02 -0700
committerMister Oyster <oysterized@gmail.com>2017-07-04 11:51:26 +0200
commit03cea3de8a79ffab1e631d5e877bfa5f97042a31 (patch)
treee7a04c57d617a3b5e0c8a447ae1dd72cc2674de6 /security/apparmor/include/match.h
parent84af56192f87a0cf3c69869f4fce4704a9677f32 (diff)
apparmor: add missing id bounds check on dfa verification
commit 15756178c6a65b261a080e21af4766f59cafc112 upstream. Signed-off-by: John Johansen <john.johansen@canonical.com> Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'security/apparmor/include/match.h')
-rw-r--r--security/apparmor/include/match.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/apparmor/include/match.h b/security/apparmor/include/match.h
index 775843e7f..b5029c77c 100644
--- a/security/apparmor/include/match.h
+++ b/security/apparmor/include/match.h
@@ -57,6 +57,7 @@ struct table_set_header {
#define YYTD_ID_ACCEPT2 6
#define YYTD_ID_NXT 7
#define YYTD_ID_TSIZE 8
+#define YYTD_ID_MAX 8
#define YYTD_DATA8 1
#define YYTD_DATA16 2