]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
UBUNTU: SAUCE: apparmor: oops in profile_unpack() when policy_db is not present
authorJohn Johansen <john.johansen@canonical.com>
Tue, 23 Aug 2016 09:05:47 +0000 (02:05 -0700)
committerKamal Mostafa <kamal@canonical.com>
Tue, 23 Aug 2016 16:48:23 +0000 (09:48 -0700)
commitea066a90562a7ca64f2706b5d9f1c84919161287
treefd60f03abacd33f16fd5043a26763ea86260947f
parent3647671fce44caca4a2e223ab7a5bdfd5ff41550
UBUNTU: SAUCE: apparmor: oops in profile_unpack() when policy_db is not present

BugLink: http://bugs.launchpad.net/bugs/1592547
If unpack_dfa() returns NULL due to the dfa not being present,
profile_unpack() is not checking if the dfa is not present (NULL).

Signed-off-by: John Johansen <john.johansen@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
security/apparmor/policy_unpack.c