Skip to content
Commit 86aea56f authored by Christos Gkekas's avatar Christos Gkekas Committed by John Johansen
Browse files

apparmor: Fix logical error in verify_header()



verify_header() is currently checking whether interface version is less
than 5 *and* greater than 7, which always evaluates to false. Instead it
should check whether it is less than 5 *or* greater than 7.

Signed-off-by: default avatarChristos Gkekas <chris.gekas@gmail.com>
Signed-off-by: default avatarJohn Johansen <john.johansen@canonical.com>
parent 19fe43a5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment