From: John Johansen Date: Thu, 16 Feb 2012 15:06:41 +0000 (-0800) Subject: AppArmor: Add mising end of structure test to caps unpacking X-Git-Tag: v3.4-rc1~165^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdbd2884df8ad026143bb482a96d38e616947b17;p=pandora-kernel.git AppArmor: Add mising end of structure test to caps unpacking The unpacking of struct capsx is missing a check for the end of the caps structure. This can lead to unpack failures depending on what else is packed into the policy file being unpacked. Signed-off-by: John Johansen Acked-by: Kees Cook --- Reading git-diff-tree failed