aboutsummaryrefslogtreecommitdiff
path: root/security/apparmor/apparmorfs.c
diff options
context:
space:
mode:
authorJohn Johansen <john.johansen@canonical.com>2020-03-30 23:37:54 -0700
committerJohn Johansen <john.johansen@canonical.com>2020-04-08 04:42:48 -0700
commitc27c6bd2c4d6b6bb779f9b722d5607993e1d5e5c (patch)
treeb7554ab191015fca33af785fc7affbf33fae7f91 /security/apparmor/apparmorfs.c
parent01df52d726b5d55d2970f5c957f1961930acd5d6 (diff)
downloadlinux-c27c6bd2c4d6b6bb779f9b722d5607993e1d5e5c.tar.gz
apparmor: ensure that dfa state tables have entries
Currently it is possible to specify a state machine table with 0 length, this is not valid as optional tables are specified by not defining the table as present. Further this allows by-passing the base tables range check against the next/check tables. Fixes: d901d6a298dc ("apparmor: dfa split verification of table headers") Reported-by: Mike Salvatore <mike.salvatore@canonical.com> Signed-off-by: John Johansen <john.johansen@canonical.com>
Diffstat (limited to 'security/apparmor/apparmorfs.c')
0 files changed, 0 insertions, 0 deletions