summaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorJohn Johansen2010-10-09 09:47:53 +0200
committerJames Morris2010-10-21 01:12:46 +0200
commit3ed02ada2a5e695e2fbb5e4a0008cfcb0f50feaa (patch)
tree8b01e83cfa6b18fe8b83b342733931d5f98bc1b2 /security/security.c
parentTOMOYO: Print URL information before panic(). (diff)
downloadkernel-qcow2-linux-3ed02ada2a5e695e2fbb5e4a0008cfcb0f50feaa.tar.gz
kernel-qcow2-linux-3ed02ada2a5e695e2fbb5e4a0008cfcb0f50feaa.tar.xz
kernel-qcow2-linux-3ed02ada2a5e695e2fbb5e4a0008cfcb0f50feaa.zip
AppArmor: Ensure the size of the copy is < the buffer allocated to hold it
Actually I think in this case the appropriate thing to do is to BUG as there is currently a case (remove) where the alloc_size needs to be larger than the copy_size, and if copy_size is ever greater than alloc_size there is a mistake in the caller code. Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Kees Cook <kees.cook@canonical.com> Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/security.c')
0 files changed, 0 insertions, 0 deletions