UBUNTU: SAUCE: AppArmor: Fix unpack of network tables.
authorJohn Johansen <john.johansen@canonical.com>
Mon, 1 Nov 2010 22:16:54 +0000 (18:16 -0400)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:50:04 +0000 (06:50 -0700)
commit279bc73305fe61989b9814ea900d5094995f7264
tree00ab080291facfe66f0f86d9812855f3ba6deb41
parent2b12ca85e199ec01416e444399c664fbcded0f26
UBUNTU: SAUCE: AppArmor: Fix unpack of network tables.

The unpacking of network rules, unpacks 1 more rule than it should.  It
should drop all rules with network types AF_MAX or greater.

Fix suggested by Tetsuo Handa in
https://lists.ubuntu.com/archives/kernel-team/2010-November/013327.html

Reported-by: Tetsuo Handa <from-ubuntu@I-love.SAKURA.ne.jp>
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
security/apparmor/policy_unpack.c